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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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"