v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Templates

delete template

Deletes an existing template.

Pass the template's numeric id (not hash_id) in the request body.

For detailed usage, see Creating and Using Templates with API.

CLI Usage: vastai delete template --template-id <id>

delete/api/v0/template/

Request body

template_idinteger required

Numeric ID of the template to delete (not hash_id)

Response

Template deleted successfully

successboolean

Example response

{
  "success": true
}