cURL
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 }
Delete a volume by its ID.
CLI Usage: vastai delete volume <volume_id>
vastai delete volume <volume_id>
API key must be provided in the Authorization header
ID of the volume to delete
100
Success response
true