Authentication

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

Changed on

Needs the Disconnect any connection permission (owners and admins by default) and a recent sign-in. 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.

post/v1/mcp-connections/{connectionId}/disconnect

Request

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

Path parameters

connectionIdstring typeid required

Den TypeID with 'emc_' prefix and a 26-character base32 suffix.

Response

Every stored account for the connection was signed out.

oktrue required

Changes

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API

    • info

      added the media type application/json for the response with the status

    • info

      removed the pattern ^emc_.* from the path request parameter connectionId