Modify a feature flag

Change specific properties of a feature flag.

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
featureNamestringRequired

Request

patchesSchema
pathstringRequired
The path to the property to operate on
openumRequired
The kind of operation to perform
fromstringOptional
The target to move or copy from, if performing one of those operations
valueanyOptional
The value to add or replace, if performing one of those operations

Response

featureSchema
namestring
Unique feature name
typestring or null

Type of the flag e.g. experiment, kill-switch, release, operational, permission

descriptionstring or null
Detailed description of the feature
archivedboolean or null

true if the feature is archived

projectstring or null
Name of the project the feature belongs to
enabledboolean or null

true if the feature is enabled, otherwise false.

staleboolean or null

true if the feature is stale based on the age and feature type, otherwise false.

favoriteboolean or null

true if the feature was favorited, otherwise false.

impressionDataboolean or null

true if the impression data collection is enabled for the feature, otherwise false.

createdAtstring or nullformat: "date-time"
The date the feature was created
createdByobject or null
User who created the feature flag
archivedAtstring or nullformat: "date-time"
The date the feature was archived
environmentslist of objects or null
The list of environments where the feature can be used
tagslist of objects or null
The list of feature tags
childrenlist of strings or null
The list of child feature names. This is an experimental field and may change.
lifecycleobject or null
Current lifecycle stage of the feature
dependencieslist of objects or null
The list of parent dependencies. This is an experimental field and may change.
collaboratorsobject or null
Information related to users who have made changes to this feature flage.
lastSeenAtstring or nullformat: "date-time"Deprecated
The date when metrics where last collected for the feature. This field was deprecated in v5, use the one in featureEnvironmentSchema
variantslist of objects or nullDeprecated
The list of feature variants
strategieslist of objects or nullDeprecated
This was deprecated in v5 and will be removed in a future major version

Errors