API
Block Storage
Delete volume

Delete Volume

  • Name
    delete
    Type
    /v1/volumes/:id
    Description

    Send a DELETE request to delete a volume.

Request

Example

curl -X DELETE "https://api.simplystack.com/v1/volumes/6c848d7f-0389-4fdf-95bf-7d4d58d9cc04" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"

Response

Response to method DELETE to /v1/volumes/:id will not return any results, only the message (204 No Content) which indicates that the deletion was successful.