For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Update Layer Overrides
Update Layer Overrides
https://statsigapi.net/console/v1/layers/{id}/overridesAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredid
Body
application/jsonconditionalOverridesobject[]requiredShow child attributes
typestringrequiredDescribes whether layer override is segment or gate
namestringrequiredName of override entity
experimentNamestringrequiredgroupNamestringrequiredenvironmentstringOptional environment scope (e.g. production, staging). Omit or pass null to target the all-environments bucket.
nullableidOverridesobject[]requiredShow child attributes
groupNamestringrequiredGroup that ID is overriden into
idsstring[]requiredID being overriden into a particular group
idTypestringnullableenvironmentstringnullableexperimentNamestringnullableResponse
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
conditionalOverridesobject[]requiredtypestringrequiredDescribes whether layer override is segment or gate
namestringrequiredName of override entity
experimentNamestringrequiredgroupNamestringrequiredenvironmentstringOptional environment scope (e.g. production, staging). Omit or pass null to target the all-environments bucket.
nullableidOverridesobject[]requiredgroupNamestringrequiredGroup that ID is overriden into
idsstring[]requiredID being overriden into a particular group
idTypestringnullableenvironmentstringnullableexperimentNamestringnullablestatusintegerrequired401messagestringrequiredstatusintegerrequired404messagestringrequiredWas this helpful?