cURL
curl --request GET \ --url https://api.portkey.ai/v1/mcp-servers/{mcpServerId}/user-access \ --header 'x-portkey-api-key: <api-key>'
{ "data": [ { "user_id": "<string>", "first_name": "<string>", "last_name": "<string>", "enabled": true, "has_override": true, "connection_status": "connected" } ], "default_user_access": "allow", "total": 123, "has_more": true }
MCP Server ID (UUID) or slug
x >= 1
1 <= x <= 500
Search by user name or email
OK
Show child attributes
allow
deny
Was this page helpful?