---
title: "Disconnect Client"
method: DELETE
path: "/oauth/connections/{client_id}"
tags: ["OAuth"]
---

# Disconnect Client

`DELETE /oauth/connections/{client_id}`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/oauth/connections/{client_id}`
- Auth: HTTP bearer

Revoke every live token for (user, client). The Disconnect
button on /account/connections hits this; the client's next MCP
call gets 401 immediately.

## Path parameters

- `client_id` string, required

## Headers

- `x-kolens-user-id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
