Image APIs
API reference › Templates

Delete a template

DELETE/v1/templates/{id}

DELETE/v1/templates/{id}

Delete a template

PARAMETERS
idpath · stringREQUIRED
The template id
e.g. tpl_4nq8vzk2hdyw7bxme3rc
In the full reference
REQUEST
curl -X DELETE "https://api.imageapis.com/v1/templates/tpl_4nq8vzk2hdyw7bxme3rc" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "id": "tpl_4nq8vzk2hdyw7bxme3rc",
  "object": "template",
  "deleted": true
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
  "error": "string",
  "message": "string",
  "param": "string"
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.