Disable Gate
Changed onRequest
- Base URLhttps://statsigapi.net
- URLhttps://statsigapi.net/console/v1/gates/{id}/disable
- AuthAPI key in header STATSIG-API-KEY
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.
Response
Launch gate response
Example response
{
"message": "Gate updated successfully.",
"data": {
"id": "a_gate",
"name": "A Gate",
"description": "description",
"idType": "userID",
"lastModifierID": "1vaQaBoLlkauH9iiuOSBP2",
"lastModifiedTime": 1705626260086,
"lastModifierName": "CONSOLE API",
"lastModifierEmail": null,
"creatorID": "1vaQaBoLlkauH9iiuOSBP2",
"createdTime": 1705450774719,
"creatorName": "CONSOLE API",
"creatorEmail": null,
"targetApps": [],
"holdoutIDs": [],
"tags": [],
"isEnabled": false,
"status": "Launched",
"rules": [],
"checksPerHour": 0,
"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"
}
}Changes
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
the response optional property
////became not read-only for the status
- info
- warning
added the new
afterenum value to the//////response property for the response status - warning
added the new
anyenum value to the//////response property for the response status - warning
added the new
any_case_sensitiveenum value to the//////response property for the response status - warning
added the new
array_contains_allenum value to the//////response property for the response status - warning
added the new
array_contains_anyenum value to the//////response property for the response status - warning
added the new
array_contains_noneenum value to the//////response property for the response status - warning
added the new
beforeenum value to the//////response property for the response status - warning
added the new
encoded_anyenum value to the//////response property for the response status - warning
added the new
gtenum value to the//////response property for the response status - warning
added the new
gteenum value to the//////response property for the response status - warning
added the new
is_not_nullenum value to the//////response property for the response status - warning
added the new
is_nullenum value to the//////response property for the response status - warning
added the new
ltenum value to the//////response property for the response status - warning
added the new
lteenum value to the//////response property for the response status - warning
added the new
noneenum value to the//////response property for the response status - warning
added the new
none_case_sensitiveenum value to the//////response property for the response status - warning
added the new
not_array_contains_allenum value to the//////response property for the response status - warning
added the new
onenum value to the//////response property for the response status - warning
added the new
str_contains_anyenum value to the//////response property for the response status - warning
added the new
str_contains_noneenum value to the//////response property for the response status - warning
added the new
str_matchesenum value to the//////response property for the response status - warning
added the new
version_eqenum value to the//////response property for the response status - warning
added the new
version_gtenum value to the//////response property for the response status - warning
added the new
version_gteenum value to the//////response property for the response status - warning
added the new
version_ltenum value to the//////response property for the response status - warning
added the new
version_lteenum value to the//////response property for the response status
- warning