curl --request PUT \
--url https://api.portkey.ai/v1/mcp-integrations/{mcpIntegrationId}/workspaces \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '
{
"workspaces": [
{
"id": "<string>",
"enabled": true
}
],
"global_workspace_access": {
"enabled": true
},
"override_existing_workspace_access": false
}
'