Skip to main content
POST
Remove InboxKit and its imported mailboxes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
mailbox_action
enum<string>
required

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

Response

Successful Response

mailboxes_deleted
integer
required
mailboxes_disconnected
integer
required
mailboxes_missing
integer
required