Skip to main content

Add a feature dependency.

POST /api/admin/projects/:projectId/features/:child/dependencies

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

Request

Path Parameters

  • projectId string required
  • child string required

Body

required

createDependentFeatureSchema

  • feature string required

    The name of the feature we depend on.

  • enabled boolean

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

  • variants string[]

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

Responses

This response has no body.

Loading...