Move a template to the trash
Authorization
ApiKeyAuth AuthorizationBearer <token>
API key from Settings → API Keys.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/templates/string"{ "id": "cm4tpl8e20001js04xq2v9k3m", "deleted": true}Update a template PATCH
Updates the fields present in the body and leaves everything else alone. Returns the template in the same shape as `GET`. Nothing is validated on the way in — saving work in progress has to be possible. Call `POST /api/v1/templates/{id}/validate` when you want to know whether it renders.
Generate URL base POST
Creates a random, opaque 16-character token for the template used to construct on-demand signed URLs. If the template already has a `url_base`, this **replaces** it and **invalidates every signed URL** that used the old token. See [On-demand URLs](/docs/api/on-demand-urls).