Update MCP server approval policy

Deprecated

Update the approval policy configuration for an MCP server. DEPRECATED: Use PATCH /mcp-servers/{id} endpoint instead.

Paramètres de chemin

mcp_server_idstringRequis
ID of the MCP Server.

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
approval_policyenumRequisPar défaut require_approval_all
The approval mode to set for the MCP server
Valeurs autorisées:

Réponse

Successful Response
idstring
configobject
metadataobject
The metadata of the MCP Server
access_infoobjectOptionnel
The access information of the MCP Server
dependent_agentslist of objectsOptionnel
List of agents that depend on this MCP Server.

Erreurs

422
Approval Policy Update Request Unprocessable Entity Error