Documentation

Delete Template

Delete an email template. Returns 204 whether or not the template existed.

Test keys can only delete test-only templates. Production keys can only delete production templates. Wrong-mode deletes return 403.

DELETE /templates/:template_id
Example: /templates/template_01k3tgwp77e71ad2758caayp11

Path Parameters

template_id string required

The ID of the template to delete.

Example

curl -X DELETE https://api.mailcast.io/v1/templates/:template_id \
     -H "Authorization: Bearer YOUR_API_TOKEN" \
     -H "Content-Type: application/json"
Response 204