Vast.ai API
Instances

Destroy an instance

1min
DELETE
https://console.vast.ai/api/v0/instances/{id}

Destroys/deletes an instance permanently. This is irreversible and will delete all data.

CLI Usage: vast-ai destroy instance Example: vast-ai destroy instance 4242

Path Parameters
id
*
Query Parameters
api_key
Responses
200
Instance destroyed successfully
success
msg
400
Bad request - invalid instance ID
success
error
msg
404
Instance not found
success
error
msg
429
Too many requests
success
error
msg