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

# Revoke Mcp Connection

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

## 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/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/425d5b8a3c17/schema)
