Get list of all env via API

Hello everyone,

A simple question - how can I get a compact list of all environments registered with the DT cluster?

I just need just two lines per env - id, and the name of the env would be sufficient.

Irakli,

It’s fairly easy: take a look at Cluster V2 API - Environments endpoint

its all you exactly need

You can find the Cluster APIs under the Person Icon while on the CMC (Cluster Management Console) page if you are a cluster admin. If you aren’t, you’ll need to work with your admin to get a token and use a GET on the “/environments” endpoint.