Skip to main content

Deletes a list of features

POST 

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

This endpoint deletes the specified features, that are in archive.

Request

Path Parameters

    projectId stringrequired

Bodyrequired

batchFeaturesSchema
    features string[]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/delete' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-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!