---
title: "Disconnect Mailbox"
method: POST
path: "/email/mailboxes/{mailbox_id}/disconnect"
tags: ["email"]
---

# Disconnect Mailbox

`POST /email/mailboxes/{mailbox_id}/disconnect`

Soft-delete a mailbox and mark it revoked (Composio revoke is dashboard-side).

## Path parameters

- `mailbox_id` string, uuid, required

## Response `200`

Successful Response

- EmailAccountRead — A connected mailbox (read model).
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `provider` string, required
  - `email_address` string, nullable
  - `status` string, required
  - `backfill_months` integer, required
  - `composio_auth_config_id` string, nullable
  - `composio_connected_account_id` string, nullable
  - `external_inbox_id` string, nullable
  - `last_synced_at` string, date-time, nullable
  - `last_error` string, nullable
  - `backfill_started_at` string, date-time, nullable
  - `backfill_completed_at` string, date-time, nullable
  - `backfill_imported_count` integer

## Other responses

- `422` — Validation Error

## Changes

> 18 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/email/mailboxes/:mailbox_id/disconnect/post.md)

---

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