Support Archive Feature Flag

Release notes

Problem to solve

Coming from: #322438 (comment 514338011)

Unleash supports feature flag archiving rather than just deleting. This allows a feature flag to be "revived" (restored) in the future and retains historical usage/change data.

Proposal

Need to add support for:

[ ] New feature flag status Archive [ ] list of archived feature toggles (in feature flag index page) [ ] archive/unarchive operation (API & UI) [ ] update error-msg if toggle exist (might be archived)

Archive a Feature Toggle

DELETE: http://unleash.host.com/api/admin/features/:toggleName

Used to archive a feature toggle. A feature toggle can never be totally be deleted, but can be archived. This is a design decision to make sure that a old feature toggle suddenly reappears because someone else re-using the same name.

Links

https://github.com/Unleash/unleash/blob/master/docs/api/admin/feature-toggles-api.md