Skip to content

Delete Volume

Deletes a volume permanently. Provide the volume ID in the path to specify the volume to be deleted.

HTTP Request

DELETE {API_URL}/volumes/{id}

Path parameters

ParametersRequirementsTypeDescription
idRequiredstringThe unique identifier of the volume for which to retrieve details.

Reponse Attributes

status boolean

Indicates the result of the request to delete the volume. true signifies success, while false indicates an error.

message string

A description of the status of the request to delete the volume.

Example

Request

curl -X DELETE '{API_URL}/volumes/{id}' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'refresh-token: {REFRESH_TOKEN}' \
-H 'Content-Type: application/json'

Response

{
    "status": true,
    "message": "Deleting virtual machine successful"
}