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
| Parameters | Requirements | Type | Description |
|---|---|---|---|
id | Required | string | The 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"
}
