MCP

Disconnect MCP server OAuth2 token

Changed on
delete/api/v2/mcp/servers/{mcpServer}/oauth2/disconnect

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/mcp/servers/{mcpServer}/oauth2/disconnect
  • Auth
    API key in header Coder-Session-Token

Path parameters

mcpServerstring uuid required

MCP server config ID

Response

OK

token_revocation_errorstring
token_revokedboolean

Changes