You can use the
GET /environments endpoint to retrieve all environment resources associated with your organization.
The response data returns information about every environment referenced by your organization. For each environment resource, the data contains HAL links for related resources as well as the properties for the environment. The
id property identifies the UUID for the environment resource. The response data shows the environment resources associated with this organization.