The following request deletes the volume corresponding to the specified volume ID.
The request to delete a volume for which the capacity saving (deduplication and compression) is enabled might take some time to complete. For this reason, we recommend that you plan when to delete such volumes.
Execution permission
Storage Administrator (Provisioning)
Request line
DELETE base-URL/simple/v1/objects/volumes/object-ID
Request message
Response message
- Body
-
Attribute
Type
Description
statusResource
string
URL for referencing information about a volume that was deleted
Note:Run the API function for obtaining information about the status of the API function that performs asynchronous processing. For details, see Getting status information about an API function that performs asynchronous processing.
Status codes
See HTTP status codes.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X DELETE https://192.0.2.100/ConfigurationManager/simple/v1/objects/volumes/100