Update a feature flag
Updates the specified feature if the feature belongs to the specified project. Only the provided properties are updated; any feature properties left out of the request body are left untouched.
Authentication
Path parameters
Request
Type of the flag e.g. experiment, kill-switch, release, operational, permission, sunset
true if the feature is archived
If true the feature flag will be moved to the archive with a property archivedAt set to current time
true if the impression data collection is enabled for the feature
Response
Type of the flag e.g. experiment, kill-switch, release, operational, permission
true if the feature is archived
true if the feature is enabled, otherwise false.
true if the feature is stale based on the age and feature type, otherwise false.
true if the feature was favorited, otherwise false.
true if the impression data collection is enabled for the feature, otherwise false.
The JSON Schema document, draft 2020-12, that describes the variant payloads of the flag. Absent when the flag has none. Only present on Unleash Enterprise. This is an experimental field and may change.
The lifetime of this flag in days. If the value is 0, the flag is expected to be permanent. Absent when the flag uses the lifetime of its feature type. This is an experimental field and may change.
The date the flag is expected to reach the end of its lifetime. null if the flag is permanent. This is an experimental field and may change.