cURL
curl --request PUT \ --url 'https://api.hubapi.com/feature-flags/v3/{appId}/flags/{flagName}/portals/{portalId}?hapikey=' \ --header 'Content-Type: application/json' \ --data ' { "flagState": "ABSENT" } '
{ "appId": 123, "flagName": "<string>", "flagState": "ABSENT", "portalId": 123 }
Specify an account-level flag state for a specific HubSpot account.
Supported products
The state that the given flag should be in for this portal
ABSENT
OFF
ON
successful operation
The ID of the app
The name of the flag
The state of the flag for this portal
The ID of the portal
Was this page helpful?