Archive feature flag
archive_flagArchive a feature flag to stop serving it in evaluations; the change is reversible. If live flags depend on it, archive those dependents first.
Instructions
Archive a flag (soft-hide, evaluation stops serving it). Reversible with restore_flag. Archive dependents first: refused with FLAG_HAS_DEPENDENTS while another live flag lists this one as a prerequisite, so archive those flags (blockedBy in find_stale_flags / list_removal_candidates) first. Refused with FLAG_RECENTLY_EVALUATED while live traffic is still evaluating the flag, because archiving makes every caller fall back to its own hardcoded default — normally that means the code removal has merged but not deployed yet, and the refusal clears itself once it has.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | ||
| force | No | Archive even though traffic is still evaluating the flag. Only for clients that can never be updated (old mobile app versions), where traffic will never drain on its own. | |
| project | Yes |