Delete a storage pool
Deletes an existing storage pool.
Note: Cannot delete a storage pool that contains active vaults.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/deleteStoragePool.adm HTTP/1.1
Host:{manager.dsnet} id={spId}&password={password}
Curl method
curl -u {admin}:{password}
-k ”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/deleteStoragePool.adm“
-d ”id={spId}&password={password}“Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
ID of storage pool to delete. |
|
| password | String | Required |
Password of account that is requesting delete. |
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.