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 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.
Path parameters
Layer name
User ID to remove from the override
Query parameters
Experiment group the override targets
Experiment within the layer that owns the override
The unit type of the override. Defaults to the experiment unit type when omitted.
Environment the override is scoped to. Omit to target the override that applies to all environments.
Response
Delete Single Layer User ID Override Success
Example response
{
"message": "Layer Overrides updated successfully.",
"data": {
"conditionalOverrides": [
{
"type": "gate",
"name": "a_gate",
"experimentName": "my_experiment",
"groupName": "Test",
"environment": null
}
],
"idOverrides": [
{
"groupName": "Control",
"ids": [
"user_a"
],
"idType": "userID",
"environment": null,
"experimentName": "my_experiment"
},
{
"groupName": "Control",
"ids": [
"user_b"
],
"idType": "userID",
"environment": "staging",
"experimentName": "my_experiment"
},
{
"groupName": "Control",
"ids": [
"user_b"
],
"idType": "userID",
"environment": null,
"experimentName": "another_experiment"
}
]
}
}Changes
Changed in 1 of the 8 revisions of this API.1
- ○
added the non-success response with the status
400response-non-success-status-added
- ○