Skip to main content
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

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the instance to recycle

Response

Instance recycle initiated successfully

success
boolean
Example:

true

I