This topic describes flag lifecycle settings and how to update them. Flag lifecycle settings let you customize the criteria that LaunchDarkly uses to determine when flags are ready to be archived. Archiving flags is a good practice to help clean up flags you no longer need.
Custom lifecycle settings apply only to critical environments. LaunchDarkly will not evaluate non-critical environments for a flag’s archive-readiness.
When you update the Lifecycle settings for a project, the changes apply to all flags in your project. This means some flags previously considered ready to archive may no longer be ready to archive, and some flags previously considered not yet ready to archive may now be ready. On the Flags list, these changes apply immediately.
In Launch Insights, data from before you update the settings reflects your older definition, and data from after you update the settings reflects your newer definition.
To customize flag lifecycle settings:
Click the project dropdown. The project menu appears:

Click Project settings.
Click Lifecycle settings. The flag lifecycle settings panel appears:

Customize the criteria that LaunchDarkly uses to determine when flags are ready to be archived:
Click Save.
To reset the flag lifecycle settings, navigate to the flag lifecycle settings panel and select Reset to default.