Delete MCP Server Connection
curl --request DELETE \
--url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/connections \
--header 'x-portkey-api-key: <api-key>'{
"success": true
}Delete MCP Server Connection
DELETE
/
mcp-servers
/
{mcpServerId}
/
connections
Delete MCP Server Connection
curl --request DELETE \
--url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/connections \
--header 'x-portkey-api-key: <api-key>'{
"success": true
}Authorizations
Path Parameters
MCP Server ID (UUID) or slug
Query Parameters
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.
Response
200 - application/json
OK
Example:
true
Last modified on June 3, 2026
Was this page helpful?
⌘I

