Skip to main content

Archives a list of features

POST 

<your-unleash-url>/api/admin/projects/:projectId/archive

This endpoint archives the specified features. Any features that are already archived or that don't exist are ignored. All existing features (whether already archived or not) that are provided must belong to the specified project.

Request

Path Parameters

    projectId stringrequired

Bodyrequired

batchFeaturesSchema

    featuresstring[]required

    List of feature flag names

    Example: ["my-feature-4","my-feature-5","my-feature-6"]

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/projects/:projectId/archive' \
-H 'Content-Type: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"features": [
"my-feature-4",
"my-feature-5",
"my-feature-6"
]
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
Body required
{
  "features": [
    "my-feature-4",
    "my-feature-5",
    "my-feature-6"
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!