Disconnect a subject from an MCP server
Deletes a subject’s OAuth token or admin-installed per-subject credential override for an MCP server. Permissions: callers with MANAGE_MCP_SERVER (MCP managers) may revoke any supported subject; other callers may only revoke their own auth.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
MCP server id (the id returned by GET /v1/mcp, not the name).
"mcp-01HXYZ..."
Body
Which auth record to delete. oauth revokes the subject's OAuth tokens; auth-override removes the admin-installed per-subject credential override.
oauth, auth-override Target subject id whose auth record should be deleted.
Subject type for the target principal. Delete is currently only supported for user and virtualaccount subjects.
user, virtualaccount Response
Auth record deleted.