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 overridden.

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

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
200Delete 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.

Show child attributes
type[]stringrequired
id[]stringrequired

The id of the segment or gate

groupID[]stringrequired

The experiment group which user will be forced into

environment[]string

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

userIDOverridesobject[]required

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

Show child attributes
groupID[]stringrequired

The experiment group the user will be forced into.

ids[]string[]required

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

environment[]string

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

unitType[]string

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

401This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
messagestringrequired
404Experiment or group not found.
statusintegerrequired
messagestringrequired

Was this helpful?