The following sample shows the GET /environments/{environmentId}/populations operation to return the complete list of population resources associated with the specified environment.

The request returns a list of populations resources. The returned data includes the id, which is the population ID required for many user-related API calls. It also shows the userCount attribute, which identifies the number of users associated with the population.