No results for ""
EXPAND ALL
  • Home
  • API docs

Deleting flags

Read time: 2 minutes
Last edited: Aug 16, 2024

Overview

This topic explains how to delete flags that are archived. To learn how to archive flags, read Archiving flags.

Delete archived flags

After you archive a flag, you can delete it if you no longer need it.

If you delete a flag, its rules will be deleted. Should it be requested again, the fallback value defined in code will be returned for all contexts. Remove any references to the feature flag from your application code before you delete it.

Deleted flags are gone forever

If you delete a flag, you cannot restore it. Be absolutely certain you do not need a flag anymore before you delete it.

To delete an archived flag:

  1. Navigate to the Flags list.
  2. Click Filters. In the "Lifecycle" section, click "Archived." The archived flag list appears.
  3. Hover on the flag you wish to delete, and click the three-dot overflow menu that appears.
  4. Click Manage flag settings.
  5. In "Delete flag" section, click "Delete this flag." The "Delete this flag?" dialog appears.
  6. Type the flag's name or key in the confirmation text field to confirm.
  7. Click Delete.

The flag is deleted permanently.

You can also use the REST API: Delete feature flag