Transactional
Delete transactional email
Permanently deletes a saved transactional email template by ID or slug, so its slug stops sending and becomes free to reuse.
Already-sent deliveries are untouched: send history, stats, and stored HTML live on the deliveries themselves.
The email content is kept as a reusable template and returned as deleted.emailId; pass that to DELETE /api/v1/templates/{templateId} to remove the content too. To stop sends without losing the template, update it with enabled: false instead.
Requires an API key with the transactional:delete scope.
delete/transactional/{idOrSlug}
Path parameters
idOrSlugstring required
Transactional email ID or slug
Response
Transactional email deleted
Example response
{
"success": true,
"message": "Transactional email deleted",
"deleted": {
"id": "txn_abc123",
"slug": "welcome-email",
"name": "Welcome Email",
"emailId": "email_abc123"
}
}