Skip to main content
PATCH
Patch holdout by id. You can pass in only the data you want to update.

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

id
string
required

id

Body

application/json
isEnabled
boolean

enable or disable the holdout

Example:

true

description
string

brief summary of what the holdout is being used for

Maximum string length: 1000
Example:

"example holdout description"

passPercentage
number

percentage of users between 0-10% to pass through the holdout

Required range: 0 <= x <= 10
Example:

5

gateIDs
string[]

an array of gateIDs which this holdout is applied to

Example:
experimentIDs
string[]

an array of experimentIDs which this holdout is applied to

Example:
layerIDs
string[]

an array of layerIDs which this holdout is applied to

Example:
isGlobal
boolean

whether the holdout is being applied to all new gates

Example:

false

targetingGateID
string | null

the gateID that the holdout is targeting

Example:

"4pjeXYDjC2WinSgOiII7wh"

Response

Update holdout response

message
string
required

A simple string explaining the result of the operation.

data
object
required

A single result.