# Disconnect · and revoke access

A connection ends when the person chooses Disconnect in Xale, when the app revokes either of its tokens, or when the same app connects again. Every token of it stops working at once.

Checked 2026-12-02 · https://xale.app/docs/ai/disconnect-and-revoke-access

## From the app: revoke

`POST https://xale.app/api/oauth/revoke` (RFC 7009), form-encoded: `token` (an access or refresh token) and, optionally, `client_id`.

| Case | Answer |
| --- | --- |
| A token of this connection | `200` `{}`; the whole connection ends, whichever token you sent |
| An unknown token | `200` `{}` |
| No `token` | `400` `invalid_request`, “token is required.” |
| `client_id` names a different app | `400` `invalid_client`, “This token belongs to another app.” |
| Storing the change fails | `503` `temporarily_unavailable`: try again. It never answers success without ending the connection. |
| Too many requests | `429` `slow_down`. Wait 60 seconds before retrying. |

## From the person: Disconnect

In Xale, Settings › Connected apps lists each connection. **Disconnect** asks once (“It loses access at once.”), then ends it. See [Connected apps · see and remove](https://xale.app/help/connected-apps-see-and-remove).

## Reconnecting

Each person has one active connection per registered client. Connecting the same client again makes a fresh connection and ends the earlier one with all its tokens. Use it to change scopes.

## What doesn't end a connection

| Event | Effect |
| --- | --- |
| The person signs out of Xale | Nothing: connections stay |
| Xale Pro ends | The connection stays, and every tool call is refused until Pro is active again |
| The account is suspended | MCP calls stop within a minute; refreshing a token stops at once |

## Related

- For people: [How do I disconnect Claude from Xale?](https://xale.app/help/connected-apps-see-and-remove)
- For people: [How do I reconnect Claude to Xale?](https://xale.app/help/reconnect-your-ai-after-changes)
- Read next: [Revoking access · person's side](https://xale.app/docs/ai/revoking-access-person-s-side)
- Read next: [Tokens · expiry and refresh](https://xale.app/docs/ai/tokens-expiry-and-refresh)
