Delete Volume


Deletes a volume

Pre/Post Conditions

  • volume must be 'available' or 'error_creating'
  • Must delete all snapshots on the volume before deleting


  • Delete

Synchronous / Asynchronous

  • Synchronous


HTTP Request Method


HTTP Request Path


HTTP Request Header


X-Auth-Token: <token>

HTTP Request Body

  • none


HTTP Response Header

Response Code

Response Codes
Code Description Error? Note
200 OK No Returned in case of success
400 Bad Request Yes  
401 Unauthorized Yes  
409 Tenant is busy Yes Returned if one of creation/update/deletion/restore request is already on-going
500 Internal Server Error Yes  

HTTP Response Body

Response Parameter

Response Parameters
Parameter Type Description Note
api_error_message String Error message in API error case.  

Sample API Request and Response

Sample API Request

curl -s -i -X DELETE -H 'Content-type: application/json' -H 'Accept: application/json' -H 'X-Auth-Token: 80e8ad9d867241ac87ea68cc370bd763'

Sample API Response

HTTP/1.1 200 OK
Date: Fri, 27 Jan 2017 06:54:35 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: application/json

{"api_error_message": ""}