v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-042830148.8 KB
Email Import

Disconnect Email Provider

Revoke email access and invalidate the token.

This calls the provider's token revocation API (e.g., Google's revoke endpoint) to ensure the user's consent is properly removed.

After calling this, the inbox_token becomes unusable.

post/v4/inbox/disconnect

Headers

x-inbox-tokenstring required

The encrypted inbox token to revoke

Response

Successfully disconnected

msgstring
statusstring

Example response

{
  "msg": "Email disconnected successfully",
  "status": "success"
}