Contributors netapp-mwallis amgrissino Download PDF of this page

You can use the SecureEraseDrives method to remove any residual data from drives that have a status of "available". You might use this method when replacing a drive nearing the end of its service life that contained sensitive data. This method uses a Security Erase Unit command to write a predetermined pattern to the drive and resets the encryption key on the drive. This asynchronous method might take several minutes to complete.


This method has the following input parameter:

Name Description Type Default value Required


List of drive IDs to secure erase.

integer array



Return value

This method has the following return value:

Name Description Type


Handle value used to obtain the operation result.


Request example

Requests for this method are similar to the following example:

   "method": "SecureEraseDrives",
   "params": {
     "drives"  : [3, 4, 5]
   "id" : 1

Response example

This method returns a response similar to the following example:

   "id" : 1
   "result" : {
     "asyncHandle" : 1

New since version


Find more information