Update MCP server approval policy

Deprecated

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

路径参数

mcp_server_idstring必需
ID of the MCP Server.

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
approval_policyenum必需默认为 require_approval_all
The approval mode to set for the MCP server
允许的值:

响应

Successful Response
idstring
configobject
metadataobject
The metadata of the MCP Server
access_infoobject可选
The access information of the MCP Server
dependent_agentslist of objects可选
List of agents that depend on this MCP Server.

错误

422
Approval Policy Update Request Unprocessable Entity Error