API referenceTemplates
Delete a template and every version
DELETE
Removes the template and all its versions. The alias becomes reusable immediately; sends that still use it start failing.
bearerAuthheader
AuthorizationBearer <token>API key sent as Authorization: Bearer <key>. Looked up by SHA-256
hash (email_core::sha256_hex) against api_keys.hash; revoked
keys and keys belonging to a suspended tenant are rejected. See the
top-level Authentication section for permission levels.
alias*stringDeleted.
application/json- response
deleted?booleanalias?stringcurl -X DELETE 'https://api.emitd.com/v1/templates/string'Example Response
{ "deleted": true, "alias": "string"}