> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Transactional Email

> Permanently delete a saved transactional email template

Permanently delete a transactional email template by ID or slug. The slug stops sending and becomes free to reuse.

Already-sent deliveries are not affected: send history, stats, and stored HTML live on the deliveries themselves, so past sends stay visible in analytics and `GET /api/v1/email-sends` after the template is gone.

The email content is kept as a reusable template, the same way deleting a campaign leaves its email behind. The response returns it as `emailId`; pass that to `DELETE /api/v1/templates/{templateId}` to remove the content too.

To stop sends without losing the template, [update](/api-reference/transactional/update) it with `enabled` set to `false` instead.

This endpoint requires an API key with the `transactional:delete` scope.

## Path Parameters

<ParamField path="idOrSlug" type="string" required>
  Transactional email ID or slug
</ParamField>

```bash theme={null}
curl -X DELETE "https://api.sequenzy.com/api/v1/transactional/welcome" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Transactional email deleted",
    "deleted": {
      "id": "txn_abc123",
      "slug": "welcome",
      "name": "Welcome Email",
      "emailId": "email_abc123"
    }
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```

  ```json 403 theme={null}
  {
    "success": false,
    "error": "API key is missing required scope: transactional:delete"
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Transactional email \"welcome\" not found"
  }
  ```

  ```json 500 theme={null}
  {
    "success": false,
    "error": "Internal server error"
  }
  ```
</ResponseExample>
