---
title: "Revoke Mcp Connection"
method: DELETE
path: "/integrations/mcp/connections/{client_id}"
tags: ["mcp-connections"]
---

# Revoke Mcp Connection

`DELETE /integrations/mcp/connections/{client_id}`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/integrations/mcp/connections/{client_id}`
- Auth: none declared

## Path parameters

- `client_id` string, required

## Query parameters

- `user_id` string, uuid, nullable

## Response `200`

Successful Response

- RevokeConnectionResponse: Result of revoking one connection: how many refresh tokens were flipped to revoked=True. Rows are durably revoked, not deleted.
  - `revoked` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
