Delete a Single Experiment User ID Override

Removes a single user ID from the matching userID override bucket on the experiment. Idempotent: returns 200 even when the user ID is not currently overridde…

Removes a single user ID from the matching userID override bucket on the experiment. Idempotent: returns 200 even when the user ID is not currently overridden. Only clears the bucket named by groupID, unitType, and environment; every other override bucket stays in place. The response body carries the full override set for the experiment after the delete.

deletehttps://statsigapi.net/console/v1/experiments/{id}/overrides/userID/{userID}

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

Experiment name

userIDstringrequired

User ID to remove from the override

Query parameters

groupIDstringrequired

The experiment group name the override targets

Example:Control
unitTypestring

The unit type of the override. Defaults to the experiment unit type when omitted.

environmentstring

Environment the override is scoped to. Omit to target the override that applies to all environments.

Response

application/json
200· Delete Single Experiment User ID Override Success
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
overridesobject[]required

Array of experiment overrides, each specifying type, ID, and group ID.

typestringrequired
Allowed values:gatesegment
idstringrequired

The id of the segment or gate

groupIDstringrequired

The experiment group which user will be forced into

environmentstring

Optional environment designation (e.g., production, staging) for the experiment.

Constraints:nullable
userIDOverridesobject[]required

Array of user ID overrides, specifying which users to force into experiment groups.

groupIDstringrequired

The experiment group the user will be forced into.

idsstring[]required

Array of user IDs to be assigned to the specified experiment group.

environmentstring

Optional environment designation (e.g., production, staging) for the experiment.

Constraints:nullable
unitTypestring

Optional type of unit for the experiment, defining the scope of the override.

Constraints:nullable
400· groupID is missing. The errors array names the parameter that failed validation.
statusintegerrequired
Allowed values:400
messagestringrequired
401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
Allowed values:401
messagestringrequired
404· Experiment or group not found.
statusintegerrequired
Allowed values:404
messagestringrequired

Was this helpful?