Device disk nut storage action
Perform a device disk nut storage action on a disk.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin | operator |
HTTP method
POST /manager/api/{apiResponseType}/deviceDiskNutStorageAction.adm HTTP/1.1
HOST:{manager.dsnet}id={Long}&driveUuid={String}&action={stop|resume|dispose}
Curl method
curl -u {admin}:{password}
-k 'https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/deviceDiskNutStorageAction.adm'
-d 'id={Long}&driveUuid={String}&action={stop|resume|dispose}'
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required | ID of a Slicestor device. | |
| driveUuid | String | Required | UUID of the disk. | |
| action | String | Required | The nut storage action to perform on the disk: stop, resume, dispose. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.
Note: Errors with the code internal.error can result if not enough time
between calls exists.