---
title: "Delete a domain and everything under it"
method: DELETE
path: "/v1/domains/{domain}"
tags: ["Domains"]
---

# Delete a domain and everything under it

`DELETE /v1/domains/{domain}`

## Request

- Base URL: `https://api.usemektup.com`
- URL: `https://api.usemektup.com/v1/domains/{domain}`
- Auth: HTTP bearer

Cascades to every mailbox and message. Does not delete already-delivered mail bodies from object storage.

## Path parameters

- `domain` string, required

## Response `204`

Deleted

## Other responses

- `404`: Not found on this account (tenant-isolated - never reveals another account's data)

---

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