Transactional

Delete transactional email

Changed on

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. 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.

delete/transactional/{idOrSlug}

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/transactional/{idOrSlug}
  • Auth
    HTTP bearer

Path parameters

idOrSlugstring required

Transactional email ID or slug

Response

Transactional email deleted

successboolean
messagestring

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

      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