Features
Create, update, and delete feature flags.
ποΈ Move feature to project
Moves the specified feature to the new project in the request schema. Requires you to have permissions to move the feature flag in both projects. Features that are included in any active change requests can not be moved.
ποΈ Validate a feature flag name.
Validates a feature flag name: checks whether the name is URL-friendly and whether a feature with the given name already exists. Returns 200 if the feature name is compliant and unused.
ποΈ Get all tags for a feature.
Retrieves all the tags for a feature name. If the feature does not exist it returns an empty list.
ποΈ Adds a tag to a feature.
Adds a tag to a feature if the feature and tag type exist in the system. The operation is idempotent, so adding an existing tag will result in a successful response.
ποΈ Updates multiple tags for a feature.
Receives a list of tags to add and a list of tags to remove that are mandatory but can be empty. All tags under addedTags are first added to the feature and then all tags under removedTags are removed from the feature.
ποΈ Removes a tag from a feature.
Removes a tag from a feature. If the feature exists but the tag does not, it returns a successful response.
π οΈ Get a feature environment
Information about the enablement status and strategies for a feature flag in specified environment.
ποΈ Disable a feature flag
Disable a feature flag in the specified environment.
ποΈ Enable a feature flag
Enable a feature flag in the specified environment.
ποΈ Bulk enable a list of features
This endpoint enables multiple feature flags.
ποΈ Bulk disable a list of features
This endpoint disables multiple feature flags.
ποΈ Get feature flag strategies
Get strategies defined for a feature flag in the specified environment.
ποΈ Add a strategy to a feature flag
Add a strategy to a feature flag in the specified environment.
ποΈ Get a strategy configuration
Get a strategy configuration for an environment in a feature flag.
ποΈ Update a strategy
Replace strategy configuration for a feature flag in the specified environment.
ποΈ Change specific properties of a strategy
Change specific properties of a strategy configuration in a feature flag.
ποΈ Delete a strategy from a feature flag
Delete a strategy configuration from a feature flag in the specified environment.
ποΈ Set strategy sort order
Set the sort order of the provided list of strategies.
ποΈ Get all features in a project
A list of all features for the specified project.
ποΈ Add a new feature flag
Create a new feature flag in a specified project.
ποΈ Clone a feature flag
Creates a copy of the specified feature flag. The copy can be created in any project.
ποΈ Get a feature
This endpoint returns the information about the requested feature if the feature belongs to the specified project.
ποΈ 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.
ποΈ Modify a feature flag
Change specific properties of a feature flag.
ποΈ Archive a feature flag
This endpoint archives the specified feature if the feature belongs to the specified project.
ποΈ Mark features as stale / not stale
This endpoint marks the provided list of features as either [stale](https://docs.getunleash.io/reference/technical-debt#stale-and-potentially-stale-flags) or not stale depending on the request body you send. Any provided features that don't exist are ignored.
ποΈ Retrieve variants for a feature (deprecated)
(deprecated from 4.21) Retrieve the variants for the specified feature. From Unleash 4.21 onwards, this endpoint will attempt to choose a [production-type environment](https://docs.getunleash.io/reference/environments) as the source of truth. If more than one production environment is found, the first one will be used.
ποΈ Apply a patch to a feature's variants (in all environments).
Apply a list of patches patch to the specified feature's variants. The patch objects should conform to the [JSON-patch format (RFC 6902)](https://www.rfc-editor.org/rfc/rfc6902).
ποΈ Create (overwrite) variants for a feature flag in all environments
This overwrites the current variants for the feature specified in the :featureName parameter in all environments.
ποΈ Get variants for a feature in an environment
Returns the variants for a feature in a specific environment. If the feature has no variants it will return an empty array of variants
ποΈ Patch a feature's variants in an environment
Apply a list of patches to the features environments in the specified environment. The patch objects should conform to the [JSON-patch format (RFC 6902)](https://www.rfc-editor.org/rfc/rfc6902).
ποΈ Create (overwrite) variants for a feature in an environment
This overwrites the current variants for the feature flag in the :featureName parameter for the :environment parameter.
ποΈ Create (overwrite) variants for a feature flag in multiple environments
This overwrites the current variants for the feature flag in the :featureName parameter for the :environment parameter.
ποΈ Validates archive features
This endpoint return info about the archive features impact.
ποΈ Archives a list of features
This endpoint archives the specified features. Any features that are already archived or that don't exist are ignored. All existing features (whether already archived or not) that are provided must belong to the specified project.
ποΈ Validate constraint
Validates a constraint definition. Checks whether the context field exists and whether the applied configuration is valid. Additional properties are not allowed on data objects that you send to this endpoint.
ποΈ Add feature to favorites
This endpoint marks the feature in the url as favorite
ποΈ Remove feature from favorites
This endpoint removes the feature in the url from favorites
ποΈ Add project to favorites
This endpoint marks the project in the url as favorite
ποΈ Remove project from favorites
This endpoint removes the project in the url from favorites