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:
parent
b4b7703995
commit
1e49beb677
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user