Environments endpoints

Use the environments endpoints to retrieve the node classifier's environment data. The responses tell you which environments are available, whether a named environment exists, and which classes exist in a certain environment.

The responses are useful for creating node groups, which must be associated with an environment. You can use the Groups endpoints to create and edit node groups.

The node classifier gets environment information from Puppet. Do not use the environments endpoints to create, update, or delete environments.