🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
curl --request DELETE \
--url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/connections \
--header 'x-portkey-api-key: <api-key>'{
"success": true
}curl --request DELETE \
--url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/connections \
--header 'x-portkey-api-key: <api-key>'{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
MCP Server ID (UUID) or slug
The UUID of the user to disconnect. Required when using a service API key; optional when using a user API key (the user ID is derived from the key if not provided).
Workspace ID or slug. Required when using org admin API key; optional when API key is workspace-scoped.
OK
true
Was this page helpful?