provider Agents Platform PATCH
/v1/convai/mcp-servers/{mcp_server_id}/approval-policy @utdk/elevenlabs
/v1/convai/mcp-servers/{mcp_server_id}/approval-policy 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 path required
- ID of the MCP Server.
- string
- xi-api-key header
- Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.updateMcpServerApprovalPolicyRoute({
"approval_policy": "require_approval_all"
})