pdfedge
API reference › Templates

Delete a template and its stored source PDF

DELETE/v1/templates/{id}

DELETE/v1/templates/{id}

Delete a template and its stored source PDF

PARAMETERS
idpath · stringREQUIRED
The template id
e.g. tpl_3h8kq2wzm4tnb7hdc3vr
In the full reference
REQUEST
curl -X DELETE "https://api.pdfedge.com/v1/templates/tpl_3h8kq2wzm4tnb7hdc3vr" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "id": "tpl_3h8kq2wzm4tnb7hdc3vr",
  "object": "template",
  "deleted": true
}
404No such file on this account, or it has expired
{
  "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.