---
title: "Disconnect (clear credentials for) an External MCP Connection without removing it"
method: POST
path: "/v1/mcp-connections/{connectionId}/disconnect"
tags: ["Authentication"]
---

# Disconnect (clear credentials for) an External MCP Connection without removing it

`POST /v1/mcp-connections/{connectionId}/disconnect`

Admin-only. Signs out every shared or per-member account stored for this connection, while preserving the connection row, access grants, OAuth client configuration, and plugin bindings.

## Path parameters

- `connectionId` string, typeid, required

## Response `200`

Disconnected.

## Other responses

- `401` — The caller must be signed in.
- `403` — Only workspace owners and admins can disconnect MCP connections.
- `404` — Unknown connection.

---

[API](https://skmtc.net/openworklabs/apis/den-api.md) · [All operations](https://skmtc.net/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openworklabs/den-api/versions/073bc652adfb/schema)
