Skip to main content
DELETE
Disconnect InboxKit

Authorizations

X-API-Key
string
header
required

Query Parameters

mailbox_action
enum<string> | null

What to do with the mailboxes InboxKit imported. Leave it out to keep them working. What removing the InboxKit connection does to its imported mailboxes.

DISCONNECT keeps the mailbox rows and their history; DELETE removes them outright (cascading their inbox threads and messages).

Available options:
disconnect,
delete
dry_run
boolean
default:false

Report what would be removed, and remove nothing.

Response

Successful Response

What disconnecting InboxKit did to the mailboxes it imported.

Answered the same on a dry run and on the real call.

detail
string
required

The detail of why the resource was deleted.

mailboxes_deleted
integer
required

Imported mailboxes this call deletes.

mailboxes_disconnected
integer
required

Connected imported mailboxes this call disconnects.

mailboxes_missing
integer
required

Imported mailboxes already removed by hand before this call.

count
integer
default:1

The number of resources that were deleted.