Update MCP server approval policy
Update the approval policy configuration for an MCP server. DEPRECATED: Use PATCH /mcp-servers/{id} endpoint instead.
路径参数
mcp_server_id
ID of the MCP Server.
请求头
xi-api-key
请求
This endpoint expects an object.
approval_policy
The approval mode to set for the MCP server
允许的值:
响应
Successful Response
id
config
metadata
The metadata of the MCP Server
access_info
The access information of the MCP Server
dependent_agents
List of agents that depend on this MCP Server.
错误
422
Approval Policy Update Request Unprocessable Entity Error