Add a feature dependency.

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

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Path parameters

projectIdstringRequired
childstringRequired

Request

createDependentFeatureSchema
featurestringRequired
The name of the feature we depend on.
enabledbooleanOptional

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

variantslist of stringsOptional

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

Response

This response has no body.

Errors