Delete template
Template
Delete template
Deletes an email template.
DELETE
Delete template
⚠️ Deletion Safeguards:
- Templates used in active campaigns cannot be deleted
- Templates used in scheduled campaigns are protected
- Deletion is permanent and cannot be undone
- Checks for campaign dependencies
- Validates template is not system/default template
- Confirms template is not shared with other teams
- Duplicate and modify for similar use cases
- Export template before deletion for backup
Authorizations
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_herePath Parameters
The unique template identifier to update.
template_f3lJvTEhSjKGVb5Lwc5SWS
Pattern:
^(template_)?[a-zA-Z0-9]{22}$Example:
"template_f3lJvTEhSjKGVb5Lwc5SWS"