Skip to main content
Archive flags and segments when they’re no longer needed instead of deleting them.
See Archiving Flags in the reference for details on what happens when you archive, when to archive, and best practices.

Archive a Flag

Archive a flag that’s no longer needed:

Archive a Segment

Archive a segment that’s no longer needed:

Verify Archive Status

Check if a flag is archived:
The response includes an archived field set to true.

Archive Multiple Resources

Archive multiple flags or segments in sequence:

Find Archival Candidates

List all flags to find archival candidates:
List all segments to find archival candidates:

Next Steps

After archiving resources:
  1. Remove feature flag code from your application
  2. Update documentation to reflect production behavior
  3. Review analytics from the archived experiment
  4. Plan next experiments based on learnings