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.

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

experimentNamestringrequired

Experiment within the layer that owns the override

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

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
conditionalOverridesobject[]required
Show child attributes
type[]stringrequired

Describes whether layer override is segment or gate

name[]stringrequired

Name of override entity

experimentName[]stringrequired
groupName[]stringrequired
environment[]string

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

idOverridesobject[]required
Show child attributes
groupName[]stringrequired

Group that ID is overriden into

ids[]string[]required

ID being overriden into a particular group

idType[]string
environment[]string
experimentName[]string
401This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
messagestringrequired
404Layer not found.
statusintegerrequired
messagestringrequired

Was this helpful?