Delete volume
DELETE/core/volumes/:volume_id
Deletes a volume permanently. Provide the volume ID in the path to specify the volume to be deleted.
State requirement: This operation requires the volume to not be currently attached to any VM. Detach with Detach volumes before deleting.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Volume successfully deleted.
Bad Request
Common cause: error_reason: bad_request. Example message: "The Volume is currently attached to vm "example". Please detach it before deleting the volume.".
Unauthorized
Not Found
Internal Server Error
Was this page helpful?