Overview
To turn a feature off for everyone, make the flag servefalse in that environment: set Fallthrough to false and remove any rules that serve true. SDK clients pick up the change within seconds when streaming is on, or on their next poll.
Turn it off
1
Open the flag
In the dashboard, open the project, click the flag (for example
new-checkout), and select the environment, for example production.2
Serve false
Set Fallthrough to
false. Remove every rule that serves true, or change its Serve to false.3
Save
Click Save environment.
false: it stops every rule from matching in one click, without deleting the rules.
How fast it takes effect
Make the code default the safe value
When the SDK has no snapshot (beforeready(), or when the edge is unreachable with no cache), it serves the client defaults. Write flags so the default is the safe state:
default: false in your flag definitions too. shipd push sets Fallthrough in the target environment to the config default, so a config that says true would turn the feature back on at the next push.