cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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.

2 REPLIES 2

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

Irakli,

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


its all you exactly need

Senior Product Manager,
Dynatrace Managed expert

dave_mauney
Dynatrace Champion
Dynatrace Champion

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.

Featured Posts