Email Import
Disconnect Email Provider
Changed onRevoke 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
Request
- Base URLhttps://api.casparser.in
- AuthAPI key in header x-api-key
Headers
x-inbox-tokenstring required
The encrypted inbox token to revoke
Response
Successfully disconnected
Example response
{
"status": "success",
"msg": "Email disconnected successfully"
}Changes
- warning
the optional response header
X-Request-IDremoved for the status401
- warning
- warning
added the new
failedenum value to theresponse property for the response status
- warning