Forget an MCP server's OAuth authorization (AI manager only)
DELETE/api/ai/mcp-servers/:mcpConnection/oauth
Removes the stored access and refresh token. The server's tools stop reaching the assistant until somebody authorizes it again. The client registration is kept.
Request
Responses
- 200
- 401
- 403
- 404
The server, no longer authorized.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).