comecerodocs

Delete a template

DELETE
/templates/{id}

Deletes the template. Core does not check whether a notification subscription or another template still uses it: check first, or those emails fall back to the built-in template. Secret and trusted tokens may call it; a limited token may not (403).

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

id*string

The template id.

Response Body

The template was deleted. There is no body.

Example Request
curl -X DELETE 'https://api.comecero.com/api/v1/templates/string'
Example Response
Empty