Disconnect native custom-agent MCP credentials
POST
/agents/{id}/native/mcp-connections/{connectionId}/disconnectAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredconnectionIdstringrequiredResponses
201
401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions