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
Example response
{
"msg": "Email disconnected successfully",
"status": "success"
}