---
title: "Disconnect the calling member's account for a per-member External MCP Connection"
method: POST
path: "/v1/mcp-connections/{connectionId}/disconnect-my-account"
tags: ["Authentication"]
---

# Disconnect the calling member's account for a per-member External MCP Connection

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

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/mcp-connections/{connectionId}/disconnect-my-account`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Removes only the caller's connected account for this MCP connection. The org-level connection, access grants, OAuth client configuration, and other members' accounts are preserved.

## Path parameters

- `connectionId` string, typeid, required

## Response `200`

The caller's connected account was removed.

- OkResponse
  - `ok` true, required

## Other responses

- `400`: This connection does not use per-member credentials.
- `401`: The caller must be signed in.
- `404`: Unknown connection or nothing was connected.

## Changes

- **2026-10-01** `df3754993784`: 1 info
  - added the optional property `message` to the response with the `400` status
- **2026-09-11** `bb8ff73e4ad3`: 3 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `denApiKey` was added to the API
  - added the media type `application/json` for the response with the status `200`
- **2026-09-04** `d3984673ccd1`: 1 info
  - added the optional property `capability` to the response with the `400` status
- **2026-08-20** `93df40e2efd5`: 1 info
  - removed the pattern `^emc_.*` from the `path` request parameter `connectionId`

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/mcp-connections/:connectionId/disconnect-my-account/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) · [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/6f14480abdb9?raw)
