Update MCP server approval policy

Deprecated

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

Parametry ścieżki

mcp_server_idstringWymagany
ID of the MCP Server.

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
approval_policyenumWymaganyDomyślnie require_approval_all
The approval mode to set for the MCP server
Dozwolone wartości:

Odpowiedź

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

Błędy

422
Approval Policy Update Request Unprocessable Entity Error