Templates
Delete a template
DELETE /templates/{uuid}
DELETE
/templates/{uuid}Permanently deletes a template with its saved editor versions. Campaigns that used it keep their own copy of the HTML.
When to use: To remove a design you no longer need.
Side effects: The thumbnail of the template and its saved editor versions are deleted. Campaigns that used the template stay as they are, without a link to it.
Permissions: Requires the author role or higher, or the marketing.templates.delete capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
uuid*string
UUID of the template. Get it with list_templates.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://api.easymailing.com/templates/5c0e8b17-3a94-4d62-b1f7-90a4c6e2d835" \ -H "X-Auth-Token: YOUR_API_KEY"Empty