v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Features

Validates archive features

This endpoint return info about the archive features impact.

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

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
}