---
title: "Delete a mailbox"
method: DELETE
path: "/v1/accounts/{id}"
tags: ["Email Accounts"]
---

# Delete a mailbox

`DELETE /v1/accounts/{id}`

## Request

- Base URL: `https://api.mailbeast.ai`
- URL: `https://api.mailbeast.ai/v1/accounts/{id}`
- Auth: HTTP bearer

Delete a mailbox from your workspace. Sending from it stops immediately.

Requires one of the following scopes: `accounts:write`, `accounts:all`, `all:all`.

## Path parameters

- `id` string, uuid, required

## Headers

- `Idempotency-Key` string

## Response `200`

- DeleteAccountApiResponseDto
  - `id` string, uuid, required
  - `deleted` boolean, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: The key lacks a required scope, or the plan does not include API access.
- `404`: The resource does not exist in your workspace.
- `409`: The request conflicts with current state - e.g. a request with the same Idempotency-Key is still being processed, or the operation partially applied.
- `422`: The Idempotency-Key was already used with a different request body. Use a new key for a new operation.
- `429`: Rate limit exceeded - retry after the interval in the Retry-After header.

---

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