Skip to main content
DELETE
/
api
/
v0
/
template
delete template
curl --request DELETE \
  --url https://console.vast.ai/api/v0/template/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "template_id": 334548
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
template_id
integer
required

Numeric ID of the template to delete (not hash_id)

Response

Template deleted successfully

success
boolean
Example:

true