Update MCP server approval policy

Deprecated

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

Pfadparameter

mcp_server_idstringErforderlich
ID of the MCP Server.

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
approval_policyenumErforderlichStandardwert ist require_approval_all
The approval mode to set for the MCP server
Erlaubte Werte:

Antwort

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

Fehler

422
Approval Policy Update Request Unprocessable Entity Error