curl --request POST \
--url https://statsigapi.net/console/v1/experiments/{id}/overrides \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '
{
"overrides": [
{
"type": "gate",
"id": "<string>",
"groupID": "<string>"
}
],
"userIDOverrides": [
{
"groupID": "<string>",
"ids": [
"<string>"
],
"environment": "<string>",
"unitType": "<string>"
}
]
}
'{
"overrides": [
{
"type": "segment",
"id": "a_segment",
"groupID": "Control"
},
{
"type": "gate",
"id": "a_gate",
"groupID": "Test"
}
],
"userIDOverrides": [
{
"groupID": "Control",
"ids": [
"updated_control_id_list"
]
},
{
"groupID": "Test",
"ids": [
"updated_test_id_list"
]
}
]
}curl --request POST \
--url https://statsigapi.net/console/v1/experiments/{id}/overrides \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '
{
"overrides": [
{
"type": "gate",
"id": "<string>",
"groupID": "<string>"
}
],
"userIDOverrides": [
{
"groupID": "<string>",
"ids": [
"<string>"
],
"environment": "<string>",
"unitType": "<string>"
}
]
}
'{
"overrides": [
{
"type": "segment",
"id": "a_segment",
"groupID": "Control"
},
{
"type": "gate",
"id": "a_gate",
"groupID": "Test"
}
],
"userIDOverrides": [
{
"groupID": "Control",
"ids": [
"updated_control_id_list"
]
},
{
"groupID": "Test",
"ids": [
"updated_test_id_list"
]
}
]
}Optional header to respect review settings for mutation endpoints.
id
Array of experiment overrides, each specifying type, ID, and group ID.
1000Array of user ID overrides, specifying which users to force into experiment groups.
Show child attributes
The experiment group the user will be forced into.
Array of user IDs to be assigned to the specified experiment group.
1000Optional environment designation (e.g., production, staging) for the experiment.
Optional type of unit for the experiment, defining the scope of the override.
Update Experiment Overrides Success
A simple string explaining the result of the operation.
A single result.
Show child attributes
Array of experiment overrides, each specifying type, ID, and group ID.
1000Array of user ID overrides, specifying which users to force into experiment groups.
Show child attributes
The experiment group the user will be forced into.
Array of user IDs to be assigned to the specified experiment group.
1000Optional environment designation (e.g., production, staging) for the experiment.
Optional type of unit for the experiment, defining the scope of the override.