1 Rookie

 • 

18 Posts

January 30th, 2021 22:00

Actually I figured out that combination of iDrac version and controller type doesnt support the Secure Erase API at all. 

Anyway thanks for your reply on this topic

4 Operator

 • 

2.9K Posts

January 29th, 2021 10:00

Hello,

 

The Redfish API isn't something that I support, so jus think of this as  possibility, but I do have something you might try. It seems to me that you may need to include the header 'Content-Type: application/json.' According to the API guide the entry point for this is:

 

/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Drives/{DriveId}/Actions/Drive.SecureErase

 

It also looks like you're missing the storage ID parameter. I believe you can get it with the following:

 

 
Hopefully, this is of some use to you. The API isn't something I know very well, since I didn't support it, but I do think this will help get you closer to getting it working.

1 Rookie

 • 

18 Posts

February 6th, 2023 19:00

actually one more thing to add - the request body need to contain "{}"

No Events found!

Top