Delete a Single Experiment Override

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

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

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?