2021-05-18 13:22:28 +02:00
---
id: features-archive
title: /api/admin/archive
---
2021-07-29 15:04:00 +02:00
> 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](/user_guide/api-token) and add an Authorization header using the token.
2021-05-18 13:22:28 +02:00
2021-06-04 11:17:15 +02:00
### Fetch archived toggles {#fetch-archived-toggles}
2021-05-18 13:22:28 +02:00
`GET http://unleash.host.com/api/admin/archive/features`
Used to fetch list of archived feature toggles
**Example response:**
```json
{
"version": 1,
"features": [
{
"name": "Feature.A",
"description": "lorem ipsum",
"type": "release",
"stale": false,
"variants": [],
"tags": [],
"strategy": "default",
"parameters": {}
}
]
}
```
2021-06-04 11:17:15 +02:00
### Revive feature toggle {#revive-feature-toggle}
2021-05-18 13:22:28 +02:00
2021-08-26 14:40:39 +02:00
`POST http://unleash.host.com/api/admin/archive/revive/:featureName`
2021-05-18 13:22:28 +02:00
2021-08-26 14:40:39 +02:00
Response: **200 OK** - When feature toggle was successfully revived.
2021-05-18 13:22:28 +02:00
2022-05-30 16:26:02 +02:00
### Delete an archived feature toggle
2021-08-26 14:40:39 +02:00
2022-02-04 12:56:58 +01:00
`DELETE http://unleash.host.com/api/admin/archive/:featureName`
2021-05-18 13:22:28 +02:00
2021-08-26 14:40:39 +02:00
Will fully remove the feature toggle and associated configuration. Impossible to restore after this action.