Skip to main content
PUT
Set an app's feature flag

Supported products

Autorisations

hapikey
string
query
requis

Paramètres de chemin

appId
integer<int32>
requis
flagName
string
requis

Corps

application/json
defaultState
enum<string>
requis

The state that the flag should have if there are no overrides for a particular portal

Options disponibles:
ABSENT,
OFF,
ON
overrideState
enum<string>

A flag value that supercedes all other overrides, including portal-level values. Mostly used for things like emergency overrides

Options disponibles:
ABSENT,
OFF,
ON

Réponse

successful operation

appId
integer<int32>
requis

The ID of the app

defaultState
enum<string>
requis

The flag state for any portal that doesn't have an override value

Options disponibles:
ABSENT,
OFF,
ON
flagName
string
requis

The name of the flag

overrideState
enum<string>

An optional flag value that overrides all others for this flag name and app, including portal-level values

Options disponibles:
ABSENT,
OFF,
ON
Dernière modification le 1 avril 2026