---
title: "Permanently delete one mailbox, keeping its domain and other mailboxes. Requires workspace admin and product scope."
method: DELETE
path: "/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}"
---

# Permanently delete one mailbox, keeping its domain and other mailboxes. Requires workspace admin and product scope.

`DELETE /v1/workspaces/{workspaceId}/mailboxes/{mailboxId}`

## Request

- Base URL: `https://api.bangermail.com`
- URL: `https://api.bangermail.com/v1/workspaces/{workspaceId}/mailboxes/{mailboxId}`
- Auth: HTTP bearer

## Headers

- `Idempotency-Key` string, required

## Request body

- object
  - `confirm_address` string, required
  - `preview_token` string, required

## Response `200`

Deleted or idempotent replay. Stored files are queued for permanent cleanup.

- object
  - `data` MailboxDeletionResult, required
    - `id` string, uuid, required
    - `address` string, required
    - `deleted` boolean, required
    - `replayed` boolean

## Other responses

- `403`: The authenticated actor cannot perform this operation directly.
- `404`: The requested resource does not exist in this workspace.
- `409`: The reviewed state changed, the mailbox is busy, or the idempotency key was reused.

---

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