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 caminho

mcp_server_idstringObrigatório
ID of the MCP Server.

Cabeçalhos

xi-api-keystringOpcional

Solicitação

This endpoint expects an object.
approval_policyenumObrigatórioPadrão é require_approval_all
The approval mode to set for the MCP server
Valores permitidos:

Resposta

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.

Erros

422
Approval Policy Update Request Unprocessable Entity Error