curl --request PATCH \
--url https://statsigapi.net/console/v1/gates/{id} \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '
{
"description": "Updated the description of the gate"
}
'{
"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,
"owner": {
"ownerID": "user123",
"ownerName": "CONSOLE API",
"ownerType": "SDK_KEY",
"ownerEmail": ""
},
"monitoringMetrics": []
},
"message": "Gate updated successfully."
}curl --request PATCH \
--url https://statsigapi.net/console/v1/gates/{id} \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '
{
"description": "Updated the description of the gate"
}
'{
"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,
"owner": {
"ownerID": "user123",
"ownerName": "CONSOLE API",
"ownerType": "SDK_KEY",
"ownerEmail": ""
},
"monitoringMetrics": []
},
"message": "Gate updated successfully."
}Documentation Index
Fetch the complete documentation index at: https://statsig-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Optional header to respect review settings for mutation endpoints.
id
1000Show child attributes
PERMANENT, TEMPORARY Show child attributes
Whether reviews are required for this gate. If a gate has reviews required due to a project-level or team-level setting, setting this will have no effect.
Show child attributes
Show child attributes