---
title: "Disconnect Email Provider"
method: POST
path: "/v4/inbox/disconnect"
tags: ["Email Import"]
---

# Disconnect Email Provider

`POST /v4/inbox/disconnect`

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.

## Headers

- `x-inbox-token` string, required

## Response `200`

Successfully disconnected

- object
  - `status` string
  - `msg` string

## Other responses

- `401` — Unauthorized. This can happen if the `x-api-key` header is missing.

---

[API](https://skmtc.net/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech-2.md) · [All operations](https://skmtc.net/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casparser/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech-2/revisions/c9918aebb2de/schema)
