PUT
/
api
/
v0
/
instances
/
recycle
/
{id}
/
recycle instance
curl --request PUT \
  --url https://console.vast.ai/api/v0/instances/recycle/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

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 recycle

Response

Instance recycle initiated successfully

success
boolean
Example:

true