Batch
Batch set account flag state
Changed onSet the portal flag state for multiple HubSpot accounts at once. Use this endpoint to manage flag exposure for groups of HubSpot accounts.
post/feature-flags/2026-09/{appId}/flags/{flagName}/portals/batch/upsert
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/feature-flags/2026-09/{appId}/flags/{flagName}/portals/batch/upsert
- AuthAPI key in query parameter hapikey
Path parameters
appIdinteger required
The unique identifier of the app for which the feature flags are being managed.
flagNamestring required
The name of the feature flag to upsert.
Request body
Response
successful operation
Changes
- info
the endpoint scheme security
developer_hapikeywas added to the API - info
the endpoint scheme security
oauth2was removed from the API
- info