{ "opencollection": "1.0.0", "info": { "name": "HubSpot Analytics Events Access Tokens Portal Flag States API", "version": "3.0.0" }, "items": [ { "info": { "name": "Portal Flag States", "type": "folder" }, "items": [ { "info": { "name": "Hubspot List Portal Flag States", "type": "http" }, "http": { "method": "GET", "url": "https://api.hubapi.com/feature-flags/v3/:appId/flags/:flagName/portals", "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" }, { "name": "limit", "value": "100", "type": "query", "description": "Maximum number of results to return per page" }, { "name": "after", "value": "example-value", "type": "query", "description": "Pagination cursor for fetching the next page of results" } ] }, "docs": "Retrieves a paginated list of portal (account) flag states for a specific feature flag.\nReturns all portals that have an explicit flag state override set.\n" }, { "info": { "name": "Hubspot Retrieve a Portal Flag State", "type": "http" }, "http": { "method": "GET", "url": "https://api.hubapi.com/feature-flags/v3/:appId/flags/:flagName/portals/:portalId", "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" }, { "name": "portalId", "value": "98765432", "type": "path", "description": "The unique identifier for the HubSpot portal (account)" } ] }, "docs": "Retrieves the flag state for a specific portal (account).\nReturns the current flag state override for the specified portal.\n" }, { "info": { "name": "Hubspot Set a Portal Flag State", "type": "http" }, "http": { "method": "PUT", "url": "https://api.hubapi.com/feature-flags/v3/:appId/flags/:flagName/portals/:portalId", "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" }, { "name": "portalId", "value": "98765432", "type": "path", "description": "The unique identifier for the HubSpot portal (account)" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sets the flag state override for a specific portal (account).\nThis overrides the application-level default state for this portal only.\n" }, { "info": { "name": "Hubspot Delete a Portal Flag State", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.hubapi.com/feature-flags/v3/:appId/flags/:flagName/portals/:portalId", "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" }, { "name": "portalId", "value": "98765432", "type": "path", "description": "The unique identifier for the HubSpot portal (account)" } ] }, "docs": "Removes the flag state override for a specific portal (account).\nThe portal will revert to using the application-level default flag state.\n" } ] } ], "bundled": true }