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>
Documentation IndexFetch the complete documentation index at: https://docs.vast.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.vast.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key must be provided in the Authorization header
ID of the volume to delete
100
Success response
true