---
title: "Delete an email delivery connection"
method: DELETE
path: "/v1/email-delivery-connections/{connection_id}"
tags: ["Email Delivery Connections"]
---

# Delete an email delivery connection

`DELETE /v1/email-delivery-connections/{connection_id}`

## Request

- Base URL: `https://api.mailrith.com`
- URL: `https://api.mailrith.com/v1/email-delivery-connections/{connection_id}`
- Auth: HTTP bearer

Deletes one connection linked only to the authenticated workspace. Shared or in-use connections are not deleted.

## Path parameters

- `connection_id` string, required

## Response `204`

The connection was deleted.

## Other responses

- `404`: The connection was not found.
- `409`: The connection is shared or currently in use and cannot be deleted.

---

[API](https://skmtc.dev/mailrith/apis/mailrith-api.md) · [All operations](https://skmtc.dev/mailrith/apis/mailrith-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailrith/apis/mailrith-api/revisions/41f09536f2da?raw)
