v2
latestOpenAPI 3.0.02026-08-073221853.1 MBHoldouts
Update holdout by id
post/console/v1/holdouts/{id}
Path parameters
idstring required
id
Request body
Example request
{
"isEnabled": true,
"description": "example holdout description",
"passPercentage": 5,
"gateIDs": [
"my_gate"
],
"experimentIDs": [
"my_experiment"
],
"layerIDs": [
"my_layer"
],
"targetingGateID": "my_targeting_gate"
}Response
Update holdout response
Example response
{
"message": "Holdout updated successfully.",
"data": {
"id": "testing_holdout",
"name": "testing holdout",
"description": "UPDATED summary of what this holdout does",
"idType": "userID",
"lastModifierID": "4dcQUIpS8PHObBGD7HJwOx",
"lastModifiedTime": 1719941188286,
"lastModifierName": "CONSOLE API",
"lastModifierEmail": null,
"creatorID": "4dcQUIpS8PHObBGD7HJwOx",
"createdTime": 1719873870785,
"creatorName": "CONSOLE API",
"creatorEmail": null,
"targetApps": [],
"tags": [],
"team": "Console Team",
"isEnabled": true,
"isGlobal": true,
"passPercentage": 5,
"gateIDs": [],
"experimentIDs": [
"testing123"
],
"layerIDs": [],
"targetingGateID": "",
"permalink": "https://console.statsig.com/company_id/holdouts/testing_holdout"
}
}