v2
latestOpenAPI 3.0.02026-08-073221853.1 MBHoldouts
Create holdout
post/console/v1/holdouts
Request body
Example request
{
"name": "team holdout",
"description": "holdout for this team",
"idType": "userID",
"teamID": "4pjeXYDjC2WinSgOiII7wh"
}Response
Create holdout response
Example response
{
"message": "Holdout created successfully.",
"data": {
"id": "a_holdout",
"permalink": "https://console.statsig.com/company_id/holdouts/a_holdout",
"name": "a holdout",
"description": "helpful summary of what this holdout does",
"idType": "userID",
"lastModifierID": "1vaQaBoLlkauH9iiuOSBP2",
"lastModifiedTime": 1707768016211,
"lastModifierName": "CONSOLE API",
"lastModifierEmail": null,
"creatorID": "1vaQaBoLlkauH9iiuOSBP2",
"createdTime": 1707768015729,
"creatorName": "CONSOLE API",
"creatorEmail": null,
"targetApps": [],
"tags": [],
"team": "Console Team",
"isEnabled": true,
"isGlobal": false,
"passPercentage": 0,
"gateIDs": [],
"experimentIDs": [],
"layerIDs": [],
"targetingGateID": null
}
}