> For the complete documentation index, see [llms.txt](https://api.senderwiz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.senderwiz.com/customer/transactional-emails/delete-a-transactional-email.md).

# Delete a Transactional Email

Remove a specific transactional email from the system using its unique email identifier.

### 🗑️ Delete a Transactional Email

Delete a transactional email with the given unique identifier. This action is permanent and cannot be undone.

***

#### 🔹 HTTP Request

```http
DELETE API-URL/transactional-emails/EMAIL-UNIQUE-ID
```

***

#### 🔸 URL Segments

| Segment           | Required | Description                |
| ----------------- | -------- | -------------------------- |
| `EMAIL-UNIQUE-ID` | Yes      | Email unique ID to delete. |

***

#### 🔐 Authorization Header

```
X-API-KEY: your-api-key-here
```

***

#### 💻 PHP Example

```php
// delete email
$response = $endpoint->delete('EMAIL-UNIQUE-ID');

// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';
```

***

#### 📦 Sample JSON Response

```json
{
  "status": "success"
}
```
