Skip to main content
DELETE
/
api
/
v0
/
volumes
/
delete volume
curl --request DELETE \
  --url https://console.vast.ai/api/v0/volumes/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 100
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
id
integer
required

ID of the volume to delete

Example:

100

Response

Success response

success
boolean
Example:

true