Environments
Create, update, delete, enable or disable environments for this Unleash instance.
๐๏ธ Creates a new environment
 **Enterprise feature**
๐๏ธ Get all environments
Retrieves all environments that exist in this Unleash instance.
๐๏ธ Validates if an environment name exists
 **Enterprise feature**
๐๏ธ Updates an environment by name
 **Enterprise feature**
๐๏ธ Deletes an environment by name
 **Enterprise feature**
๐๏ธ Get the environment with `name`
Retrieves the environment with `name` if it exists in this Unleash instance
๐๏ธ Clones an environment
 **Enterprise feature**
๐๏ธ Get the environments available to a project
Gets the environments that are available for this project. An environment is available for a project if enabled in the [project configuration](https://docs.getunleash.io/reference/environments#enable-an-environment)
๐๏ธ Update environment sort orders
Updates sort orders for the named environments. Environments not specified are unaffected.
๐๏ธ Toggle the environment with `name` on
Makes it possible to enable this environment for a project. An environment must first be globally enabled using this endpoint before it can be enabled for a project
๐๏ธ Toggle the environment with `name` off
Removes this environment from the list of available environments for projects to use