{
  "opencollection": "1.0.0",
  "info": {
    "name": "Portkey Analytics > Graphs Integrations > Workspaces API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-portkey-api-key",
      "value": "{{x-portkey-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Integrations > Workspaces",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List integration workspace access",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.portkey.ai/v1/integrations/:slug/workspaces",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves workspace access configuration for an integration, including usage limits and rate limits."
        },
        {
          "info": {
            "name": "Bulk update workspace access",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.portkey.ai/v1/integrations/:slug/workspaces",
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates workspace access permissions, usage limits, and rate limits for an integration.\nCan configure global workspace access or per-workspace settings.\n"
        }
      ]
    }
  ],
  "bundled": true
}