Delete an inactive email template
Permanently delete a transactional email template by its numeric ID. Only inactive templates can be deleted; attempting to delete an active template returns a 405 error. To deactivate a template before deletion, use `PUT /smtp/templates/{templateId}` with `isActive` set to `false`. Deletion also removes associated newsletter template data and triggers asynchronous cleanup of shared assets.
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
templateId
id of the template
Errors
400
Bad Request Error
404
Not Found Error