Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Unleash Archive API

Revive or permanently delete [archived feature flags](https://docs.getunleash.io/advanced/archived_toggles).

Unleash Archive API is one of 36 APIs that Unleash publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Archive. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 4 paths, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 7.4.1.

Requests are made against a single base URL, https://app.unleash-instance.example.com.

4 operations 4 paths 1 schemas 1 DELETE3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
7.4.1
Base URL
https://app.unleash-instance.example.com
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Unleash Archive API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKey). It accepts HTTP bearer tokens (bearerToken). By default, every request must be authenticated.

  • apiKey — API key needed to access this API
  • bearerToken — API key needed to access this API, in Bearer token format

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 1 DELETE, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Archive 4

Revive or permanently delete [archived feature flags](https://docs.getunleash.io/advanced/archivedtoggles).

DELETE
/api/admin/archive/{featureName}
Archives a Feature
deleteFeature 1 param → 200401403
POST
/api/admin/archive/revive/{featureName}
Revives a Feature
reviveFeature 1 param → 200400401403
POST
/api/admin/projects/{projectId}/delete
Deletes a List of Features
deleteFeatures 1 param body → 200400401403
POST
/api/admin/projects/{projectId}/revive
Revives a List of Features
reviveFeatures 1 param body → 200400401403

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is batchFeaturesSchema (1 property). Each schema is shown below with its type and property counts.

batchFeaturesSchema
object
A list of feature flag names for batch operations
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

unleash-archive-api-openapi.yml Raw ↑

Other APIs Unleash publishes across the network.

Unleash Client API
Unleash Addons API
Unleash Admin UI API
Unleash API tokens API
Unleash Auth API
Unleash Banners API
Unleash Change Requests API
Unleash Context API
Unleash Dependencies API
Unleash Environments API
Unleash Events API
Unleash Feature Types API