Enable a feature flag
Enable a feature flag in the specified environment.
Authentication
Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format
Path parameters
projectId
featureName
environment
Response
featureSchema
name
Unique feature name
type
Type of the flag e.g. experiment, kill-switch, release, operational, permission
description
Detailed description of the feature
archived
true if the feature is archived
project
Name of the project the feature belongs to
enabled
true if the feature is enabled, otherwise false.
stale
true if the feature is stale based on the age and feature type, otherwise false.
favorite
true if the feature was favorited, otherwise false.
impressionData
true if the impression data collection is enabled for the feature, otherwise false.
createdAt
The date the feature was created
createdBy
User who created the feature flag
archivedAt
The date the feature was archived
environments
The list of environments where the feature can be used
children
The list of child feature names. This is an experimental field and may change.
lifecycle
Current lifecycle stage of the feature
dependencies
The list of parent dependencies. This is an experimental field and may change.
collaborators
Information related to users who have made changes to this feature flage.
links
The list of links. This is an experimental field and may change.
lastSeenAtDeprecated
The date when metrics where last collected for the feature. This field was deprecated in v5, use the one in featureEnvironmentSchema
variantsDeprecated
The list of feature variants
strategiesDeprecated
This was deprecated in v5 and will be removed in a future major version