Delete a Single Layer Override
Removes a single gate or segment override from the layer. Idempotent: returns 200 even when no matching override exists.
Removes a single gate or segment override from the layer. Idempotent: returns 200 even when no matching override exists.
https://statsigapi.net/console/v1/layers/{id}/overrides/conditional/{type}/{name}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredLayer name
typestringrequiredOverride type
gatesegmentnamestringrequiredName of the gate or segment being overridden
Query parameters
groupNamestringrequiredExperiment group the override targets
experimentNamestringrequiredExperiment within the layer that owns the override
environmentstringEnvironment the override is scoped to. Omit to target the override that applies to all environments.
Response
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?