v2

latestOpenAPI 3.0.12026-07-13101128.4 KB
Basic

Set an account flag state

Specify an account-level flag state for a specific HubSpot account.

put/feature-flags/2026-03/{appId}/flags/{flagName}/portals/{portalId}

Path parameters

appIdinteger required
flagNamestring required
portalIdinteger required

Request body

flagState'ABSENT' | 'OFF' | 'ON' required

The state that the given flag should be in for this portal

Response

successful operation

appIdinteger required

The ID of the app

flagNamestring required

The name of the flag

flagState'ABSENT' | 'OFF' | 'ON' required

The state of the flag for this portal

portalIdinteger required

The ID of the portal