MailboxesRemove mailbox

Remove mailbox

Permanently deletes a mailbox. Without force, fails if the mailbox is used in any active campaign — remove it from campaigns first.

With force=true (query, or { "force": true } in the body), the mailbox is first removed from every non-archived campaign that uses it (each campaign is rebalanced by the scheduler), then deleted — same as the dashboard's "Remove from campaigns and force delete".

curl -X DELETE "https://api.sendkit.ai/v1/mailboxes/example_string?force=false" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "message": "Mailbox removed"
  }
}
DELETE
/v1/mailboxes/{mailboxId}
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
query
forceboolean

Remove the mailbox from its campaigns, then delete it.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

Path Parameters

Query Parameters

forceboolean

Remove the mailbox from its campaigns, then delete it.

Responses

successboolean
dataobject