v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Instances

recycle instance

Destroys and recreates container in place (from newly pulled image) without losing GPU priority. Updates container status to 'recycling' and executes docker stop/remove commands on the host machine.

CLI Usage: vastai recycle instance <id>

put/api/v0/instances/recycle/{id}/

Path parameters

idinteger required

ID of the instance to recycle

Response

Instance recycle initiated successfully

successboolean

Example response

{
  "success": true
}