Volumes
Delete volume
This method deletes a volume.
delete/v1/volumes/{volumeId}
Request
- Base URLhttps://api.emma.ms/external
- AuthHTTP bearer
Path parameters
volumeIdinteger required
ID of the volume
Response
Successful operation
Example response
{
"id": 5819,
"name": "volume-1ay48j",
"attachedToId": 5806,
"projectId": 933,
"sizeGb": 250,
"type": "ssd",
"isSystem": true,
"status": "ACTIVE",
"provider": {
"id": 12,
"name": "AWS"
},
"location": {
"id": 6,
"name": "London",
"country": "United Kingdom",
"continent": "Europe",
"region": "EMEA",
"latitude": 51.50735,
"longitude": -0.1277583
},
"dataCenter": {
"id": "aws-eu-west-2",
"name": "eu-west-2",
"providerId": 12,
"providerName": "AWS",
"locationId": 6,
"locationName": "London"
},
"createdAt": "2021-11-26T14:54:11",
"createdByName": "Automation User",
"createdById": 123,
"modifiedAt": "2021-11-26T14:54:11",
"modifiedByName": "Automation User",
"modifiedById": 123,
"cost": {
"unit": "MONTHS",
"currency": "EUR",
"price": 5.479952
},
"deviceIdentifier": "/dev/sda"
}Changes
No recorded changes to this operation across all 1 revision of this API.