Delete a Single Experiment Override

Removes a single gate or segment override from the experiment. Idempotent: returns 200 even when no matching override exists.

Removes a single gate or segment override from the experiment. Idempotent: returns 200 even when no matching override exists.

deletehttps://statsigapi.net/console/v1/experiments/{id}/overrides/conditional/{type}/{name}

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

Experiment name

typestringrequired

Override type

Allowed values:gatesegment
namestringrequired

Name of the gate or segment being overridden

Query parameters

groupIDstringrequired

The experiment group name the override targets

environmentstring

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

Response

application/json
200· Delete Single Experiment 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
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?