Update Gate Overrides
Update Gate Overrides
post
https://statsigapi.net/console/v1/gates/{id}/overridesAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredid
Body
application/jsonenvironmentOverridesobject[]Show child attributes
environmentstringEnvironment
Example:
stagingConstraints:
nullableunitIDstringrequiredUnit ID
Example:
unit123Constraints:
nullablepassingIDsstring[]requiredList of passing IDs
Example:
["id1","id2"]failingIDsstring[]requiredList of failing IDs
Example:
["id3","id4"]passingUserIDsstring[]List of user IDs
Example:
["user123","user456","user789"]failingUserIDsstring[]List of user IDs
Example:
["user123","user456","user789"]passingCustomIDsstring[]Optional list of custom IDs
Example:
["custom123","custom456"]failingCustomIDsstring[]Optional list of custom IDs
Example:
["custom123","custom456"]Response
application/json201· Update Gate Override Success
messagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredContract for overrides
Show child attributes
passingUserIDsstring[]requiredList of user IDs
Example:
["user123","user456","user789"]failingUserIDsstring[]requiredList of user IDs
Example:
["user123","user456","user789"]passingCustomIDsstring[]Optional list of custom IDs
Example:
["custom123","custom456"]failingCustomIDsstring[]Optional list of custom IDs
Example:
["custom123","custom456"]environmentOverridesobject[]requiredenvironmentstringEnvironment
Example:
stagingConstraints:
nullableunitIDstringrequiredUnit ID
Example:
unit123Constraints:
nullablepassingIDsstring[]requiredList of passing IDs
Example:
["id1","id2"]failingIDsstring[]requiredList of failing IDs
Example:
["id3","id4"]Was this helpful?