Delete transactional email
Changed onPermanently 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. Code-managed emails (managedBy: code) are the exception: their content snapshot is deleted with them, so the returned emailId no longer exists. To stop sends without losing the template, update it with enabled: false instead.
Requires an API key with the transactional:delete scope.
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/transactional/{idOrSlug}
- AuthHTTP bearer
Path parameters
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"
}
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info