mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-14 01:16:17 +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",
|
"name": "Feature.A",
|
||||||
"description": "lorem ipsum",
|
"description": "lorem ipsum",
|
||||||
"type": "release",
|
"type": "release",
|
||||||
"enabled": false,
|
|
||||||
"stale": false,
|
"stale": false,
|
||||||
"strategies": [
|
|
||||||
{
|
|
||||||
"name": "default",
|
|
||||||
"parameters": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"variants": [],
|
"variants": [],
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"strategy": "default",
|
"strategy": "default",
|
||||||
@ -40,14 +33,12 @@ Used to fetch list of archived feature toggles
|
|||||||
|
|
||||||
### Revive feature toggle {#revive-feature-toggle}
|
### 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
|
### Delete an archivied feature toggle
|
||||||
{
|
|
||||||
"name": "Feature.A"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
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