Partially Update Gates
Path parameters
id
Query parameters
When "true", populate archivedAt / archivedBy* / archiveReason on the gate when it is currently archived. When omitted or "false", those fields are absent from the response.
Request body
Example request
{
"description": "Updated the description of the gate"
}Response
Update gate response
Example response
{
"data": {
"checksPerHour": 0,
"createdTime": 1705439406750,
"creatorEmail": null,
"creatorID": "4R5PV7mvYdW6NLCwK8ocoz",
"creatorName": "CONSOLE API",
"description": "Updated the description of the gate",
"holdoutIDs": [],
"id": "a_gate",
"idType": "userID",
"isEnabled": true,
"lastModifiedTime": 1705439498468,
"lastModifierEmail": null,
"lastModifierID": "4R5PV7mvYdW6NLCwK8ocoz",
"lastModifierName": "CONSOLE API",
"name": "A Gate",
"rules": [],
"status": "In Progress",
"tags": [],
"targetApps": [],
"type": "PERMANENT",
"typeReason": "NONE",
"team": null,
"reviewSettings": {
"requiredReview": false,
"allowedReviewers": []
},
"measureMetricLifts": true,
"store0100Exposures": false,
"owner": {
"ownerID": "user123",
"ownerName": "CONSOLE API",
"ownerType": "SDK_KEY",
"ownerEmail": ""
},
"monitoringMetrics": [],
"version": 2,
"permalink": "https://console.statsig.com/company_id/gates/a_gate"
},
"message": "Gate updated successfully."
}Changes
Changed in 1 of the 8 revisions of this API.12626
- ▲
request property
rules/items/conditions/items/operatorwas restricted to a list of enum valuesrequest-property-became-enum
- ●
added the new
afterenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
anyenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
any_case_sensitiveenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
array_contains_allenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
array_contains_anyenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
array_contains_noneenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
beforeenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
encoded_anyenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
gtenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
gteenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
is_not_nullenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
is_nullenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ltenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
lteenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
noneenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
none_case_sensitiveenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
not_array_contains_allenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
onenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
str_contains_anyenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
str_contains_noneenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
str_matchesenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
version_eqenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
version_gtenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
version_gteenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
version_ltenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
version_lteenum value to theallOf[subschema #2]/data/rules/items/conditions/items/operatorresponse property for the response status200response-property-enum-value-added
- ○
added the new
afterenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
anyenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
any_case_sensitiveenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
array_contains_allenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
array_contains_anyenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
array_contains_noneenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
beforeenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
encoded_anyenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
gtenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
gteenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
is_not_nullenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
is_nullenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
ltenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
lteenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
noneenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
none_case_sensitiveenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
not_array_contains_allenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
onenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
str_contains_anyenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
str_contains_noneenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
str_matchesenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
version_eqenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
version_gtenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
version_gteenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
version_ltenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ○
added the new
version_lteenum value to the request propertyrules/items/conditions/items/operatorrequest-property-enum-value-added
- ▲