Skip to the documentation
API

Delete a template

The template and every version of it. Mail already sent from it is untouched.

DELETEapi.openemail.uk/templates/{id}

Runs the real call against your workspace, with your own key.

DELETE /templates/{id}

The template and every version of it. Mail already sent from it is untouched.

Example

Needs templates:write.

curl
curl -X DELETE "$OE/templates/order-shipped" -H "$AUTH"
Response
{ "object": "template", "id": "tpl_9c1f0a4b7e05d3862c1f0a44", "deleted": true }

Anything still sending against this id starts failing with a 404 resource_not_found. Archive rather than delete when you are not sure who points at it.