PDF4.dev
Templates
DELETE
/api/v1/templates/{id}

Authorization

AuthorizationRequiredBearer <token>

API key from Settings page. Keys start with p4_live_ prefix.

In: header

Path Parameters

idRequiredstring

Template ID (tmpl_xxx) or slug (e.g. monthly-invoice)

curl -X DELETE "https://docs.pdf4.dev/api/proxy/api/v1/templates/<string>" \
  -H "Authorization: Bearer <token>"

Template deleted

{
  "deleted": true
}