Features
Create, update, and delete features toggles.
📄️ 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 toggle in both projects. Features that are included in any active change requests can not be moved.
📄️ Get all feature toggles (deprecated)
Gets all feature toggles with their full configuration. This endpoint is **deprecated**. You should use the project-based endpoint instead (`/api/admin/projects/<project-id>/features`).
📄️ Validate a feature toggle name.
Validates a feature toggle 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 toggle in specified environment.
📄️ Disable a feature toggle
Disable a feature toggle in the specified environment.
📄️ Enable a feature toggle
Enable a feature toggle in the specified environment.
📄️ Bulk enable a list of features
This endpoint enables multiple feature toggles.
📄️ Bulk disable a list of features
This endpoint disables multiple feature toggles.
📄️ Get feature toggle strategies
Get strategies defined for a feature toggle in the specified environment.
📄️ Add a strategy to a feature toggle
Add a strategy to a feature toggle in the specified environment.
📄️ Get a strategy configuration
Get a strategy configuration for an environment in a feature toggle.
📄️ Update a strategy
Replace strategy configuration for a feature toggle in the specified environment.
📄️ Change specific properties of a strategy
Change specific properties of a strategy configuration in a feature toggle.
📄️ Delete a strategy from a feature toggle
Delete a strategy configuration from a feature toggle 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 toggle
Create a new feature toggle in a specified project.
📄️ Clone a feature toggle
Creates a copy of the specified feature toggle. 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 toggle
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 toggle
Change specific properties of a feature toggle.
📄️ Archive a feature toggle
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-toggles) 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 toggle 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 toggle in the :featureName parameter for the :environment parameter.
📄️ Create (overwrite) variants for a feature toggle in multiple environments
This overwrites the current variants for the feature toggle 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