Update MCP server approval policy

Deprecated

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

Parámetros de ruta

mcp_server_idstringRequerido
ID of the MCP Server.

Encabezados

xi-api-keystringOpcional

Solicitud

This endpoint expects an object.
approval_policyenumRequeridoValor predeterminado: require_approval_all
The approval mode to set for the MCP server
Valores permitidos:

Respuesta

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

Errores

422
Approval Policy Update Request Unprocessable Entity Error