Skip to content
LogoLogo

Disconnect an MCP client

Disconnect an MCP client

DELETE/api/v1/me/mcp/grants/{grant_id}

Immediately revokes one MCP OAuth grant belonging to the caller. Access-token verification and refresh fail on every instance after the database transaction commits. A foreign or absent grant returns 404.

Path Parameters

grant_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Responses