Update MCP server approval policy

Update the approval policy configuration for an MCP server.

Path parameters

mcp_server_idstringRequired
ID of the MCP Server.

Headers

xi-api-keystringRequired

Request

This endpoint expects an object.
approval_policyenumRequired
The approval mode to set for the MCP server
Allowed values:

Response

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

Errors