Skip to main content

Disable Feature Flag

POST 

/api/v1/test/disable-feature-flag

E2E-only: disable a feature flag for a user by email.

Companion to enable-feature-flag. Used in afterAll hooks to restore test-user state so other E2E suites that assert on feature-gated behaviour are not polluted. Gated by E2E_TEST_MODE + X-E2E-Secret (mirrors enable_feature_flag).

Request

Responses

OK