Skip to main content
DELETE
/
api
/
v0
/
instances
/
{id}
/
destroy instance
curl --request DELETE \
  --url https://console.vast.ai/api/v0/instances/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "msg": "Instance destroyed successfully"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the instance to destroy

Response

Instance destroyed successfully

success
boolean

Whether the destruction was successful

Example:

true

msg
string

Optional status message

Example:

"Instance destroyed successfully"

I