Delete a Single Layer User ID Override

Removes a single user ID from the matching layer userID override bucket. Idempotent: returns 200 even when the user ID is not currently overridden. Only clea…

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

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

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

Layer name

userIDstringrequired

User ID to remove from the override

Query parameters

groupNamestringrequired

Experiment group the override targets

Example:Control
experimentNamestringrequired

Experiment within the layer that owns the override

Example:my_experiment
idTypestring

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 Layer User ID Override Success
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
conditionalOverridesobject[]required
typestringrequired

Describes whether layer override is segment or gate

namestringrequired

Name of override entity

experimentNamestringrequired
groupNamestringrequired
environmentstring

Optional environment scope (e.g. production, staging). Omit or pass null to target the all-environments bucket.

Constraints:nullable
idOverridesobject[]required
groupNamestringrequired

Group that ID is overriden into

idsstring[]required

ID being overriden into a particular group

idTypestring
Constraints:nullable
environmentstring
Constraints:nullable
experimentNamestring
Constraints:nullable
400· groupName or experimentName 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· Layer not found.
statusintegerrequired
Allowed values:404
messagestringrequired

Was this helpful?