---
title: "Delete a sending domain"
method: DELETE
path: "/v1/email-domains/{id}"
tags: ["Email Domains"]
---

# Delete a sending domain

`DELETE /v1/email-domains/{id}`

## Request

- Base URL: `https://api.honkio.ca`
- URL: `https://api.honkio.ca/v1/email-domains/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Requires `email_domains:d`.

## Path parameters

- `id` string, required

## Response `204`

Deleted. Email from the domain stops until it is added and verified again.

## Other responses

- `401`: Missing, invalid, revoked or expired API key.
- `402`: The account has no balance, or a LIVE key was used before the first top-up.
- `403`: The API key lacks the permission this operation requires, or the account is suspended or closed.
- `404`: NOT_FOUND: no such domain on this account. A test key finds test-mode domains only, so a live domain answers it the same way; a live key finds both.
- `409`: EMAIL_DOMAIN_HAS_INFLIGHT: the domain still has queued, scheduled or sending emails.
- `429`: Rate limit reached: 100 requests per second per account, or a route-specific limit (Retry-After set where one applies).
- `500`: Unexpected server error.

---

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