Specify tenant ID and volume ID, then delete a volume.

If a snapshot of the volume exists, you cannot delete the volume until you delete the snapshot.

Request URL

Block Storage API v2

DELETE /v2/{tenant_id}/volumes/{volume_id}

Request Paramters

Parameter Value Style Description
X-Auth-Token User Token header
tenant_id URI
volume_id URI

Normal response codes



curl -i -X DELETE \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
HTTP/1.1 202 Accepted
Date: Tue, 09 Dec 2014 06:09:18 GMT
Server: Apache
Content-Length: 0
Content-Type: application/json