{
  "opencollection": "1.0.0",
  "info": {
    "name": "HubSpot Analytics Events Access Tokens Batch Portal Operations API",
    "version": "3.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Batch Portal Operations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Hubspot Batch Create or Update Portal Flag States",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/feature-flags/v3/:appId/flags/:flagName/portals/batch/upsert",
            "params": [
              {
                "name": "appId",
                "value": "12345678",
                "type": "path",
                "description": "The unique identifier for the HubSpot application"
              },
              {
                "name": "flagName",
                "value": "new-dashboard-feature",
                "type": "path",
                "description": "The name of the feature flag"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sets flag states for multiple portals (accounts) in a single request.\nEfficiently enables or disables features for multiple accounts at once.\n"
        },
        {
          "info": {
            "name": "Hubspot Batch Delete Portal Flag States",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.hubapi.com/feature-flags/v3/:appId/flags/:flagName/portals/batch/delete",
            "params": [
              {
                "name": "appId",
                "value": "12345678",
                "type": "path",
                "description": "The unique identifier for the HubSpot application"
              },
              {
                "name": "flagName",
                "value": "new-dashboard-feature",
                "type": "path",
                "description": "The name of the feature flag"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Removes flag state overrides for multiple portals (accounts) in a single request.\nAll specified portals will revert to using the application-level default flag state.\n"
        }
      ]
    }
  ],
  "bundled": true
}