v7

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

Add a feature dependency.

Add a dependency to a parent feature. Each environment will resolve corresponding dependency independently.

post/api/admin/projects/{projectId}/features/{child}/dependencies

Path parameters

projectIdstring required
childstring required

Request body

featurestring required

The name of the feature we depend on.

enabledboolean

Whether the parent feature should be enabled. When false variants are ignored. true by default.

variantsstring[]

The list of variants the parent feature should resolve to. Leave empty when you only want to check the enabled status.

Example request

{
  "feature": "parent_feature",
  "variants": [
    "variantA",
    "variantB"
  ]
}

Response

This response has no body.