You can now delete individual experiment and layer overrides directly via the Console API, no GET-mutate-POST workaround needed.
Delete a single conditional or userID override from an experiment or layer via path-param DELETEs.
Target a specific environment with an optional environment query param, or omit it for the all-environments bucket.
Call these endpoints cleanly from OpenAPI-generated or SDK-based clients, since they use path and query params only with no DELETE body.
Four new endpoints are available on statsigapi.net/console/v1/:
DELETE /experiments/:id/overrides/conditional/:type/:name
DELETE /experiments/:id/overrides/userID/:userID
DELETE /layers/:id/overrides/conditional/:type/:name
DELETE /layers/:id/overrides/userID/:userID
:type is gate or segment. :name is the gate or segment name. All four endpoints are idempotent, returning 200 even when no matching override exists.
SDK-based E2E testing frameworks often need to clean up individual overrides between test runs. The previous approach required fetching the full overrides object, mutating it locally, and re-posting it, which is fragile and hard to parallelize. These endpoints make override teardown a single, safe, idempotent call.
Review the full API reference in the Statsig Console API docs.