Delete template
Delete a template from your account.
DELETEhttps://api.cresca.xyz/api/v1/templates/:id
Requires a full-access key. The template is removed from the Cresca app as well.
Emails that reference a deleted template fail with 404 not_found. Update your app before deleting a template it still uses.
Path parameters
idstringrequired
The template id or alias.
Example
Request
curl -X DELETE 'https://api.cresca.xyz/api/v1/templates/password-reset' \
-H 'Authorization: Bearer cr_live_xxxxxxxxx'Response 200
{
"object": "template",
"id": "6713b1f4c2a94e0012ab34cd",
"deleted": true
}