v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Instances

destroy instance

Destroys/deletes an instance permanently. This is irreversible and will delete all data.

CLI Usage: vastai destroy instance <id>

delete/api/v0/instances/{id}/

Path parameters

idinteger required

ID of the instance to destroy

Response

Instance destroyed successfully

successboolean

Whether the destruction was successful

msgstring

Optional status message

Example response

{
  "success": true,
  "msg": "Instance destroyed successfully"
}