mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-14 01:16:17 +02:00
https://linear.app/unleash/issue/2-3366/remove-get-apiadminarchivefeatures-deprecated-in-4100 Removes GET `/api/admin/archive/features` which was deprecated in v4.10. Also cleans up related code. May include some slight scouting. **P.S.** Should we merge this into main, or is there a `v7` branch we should be targeting instead?
685 B
685 B
title |
---|
/api/admin/archive |
In order to access the admin API endpoints you need to identify yourself. Unless you're using the
none
authentication method, you'll need to create an ADMIN token and add an Authorization header using the token.
Revive feature flag
POST http://unleash.host.com/api/admin/archive/revive/:featureName
Response: 200 OK - When feature flag was successfully revived.
Delete an archived feature flag
DELETE http://unleash.host.com/api/admin/archive/:featureName
Will fully remove the feature flag and associated configuration. Impossible to restore after this action.