Skip to main content
DELETE
/
api
/
email
/
accounts
/
{accountId}
Disconnect an email account
curl --request DELETE \
  --url https://your-instance.example.com/api/email/accounts/{accountId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

accountId
string
required

Internal _id of the EmailAccount document.

Response

Account disconnected

Response from DELETE /api/email/accounts/{accountId}.

success
enum<boolean>
required
Available options:
true