1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-31 01:16:01 +02:00

Update feature-toggles-archive-api.md

This commit is contained in:
Ivar Conradi Østhus 2021-08-26 14:40:39 +02:00 committed by GitHub
parent b4b7703995
commit 1e49beb677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,14 +21,7 @@ Used to fetch list of archived feature toggles
"name": "Feature.A",
"description": "lorem ipsum",
"type": "release",
"enabled": false,
"stale": false,
"strategies": [
{
"name": "default",
"parameters": {}
}
],
"variants": [],
"tags": [],
"strategy": "default",
@ -40,14 +33,12 @@ Used to fetch list of archived feature toggles
### Revive feature toggle {#revive-feature-toggle}
`POST http://unleash.host.com/api/admin/archive/revive`
`POST http://unleash.host.com/api/admin/archive/revive/:featureName`
**Body:**
Response: **200 OK** - When feature toggle was successfully revived.
```json
{
"name": "Feature.A"
}
```
### Delete an archivied feature toggle
Used to revive a feature toggle.
`POST http://unleash.host.com/api/admin/archive/revive/:featureName`
Will fully remove the feature toggle and associated configuration. Impossible to restore after this action.