Features

Validates archive features

This endpoint return info about the archive features impact.

post/api/admin/projects/{projectId}/archive/validate

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/api/admin/projects/{projectId}/archive/validate
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

projectIdstring required

Request body

featuresstring[] required

List of feature flag names

Example request

{
  "features": [
    "my-feature-4",
    "my-feature-5",
    "my-feature-6"
  ]
}

Response

validateArchiveFeaturesSchema

parentsWithChildFeaturesstring[] required

List of parent features that would orphan child features that are not part of the archive operation

hasDeletedDependenciesboolean required

Whether any dependencies will be deleted as part of archive

Example response

{
  "parentsWithChildFeatures": [
    "my-feature-4",
    "my-feature-5",
    "my-feature-6"
  ],
  "hasDeletedDependencies": true
}

Changes

No recorded changes to this operation across all 7 revisions of this API.