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

API to pull ALL hostgroup ID's

lee_rovner
Contributor

I am trying to pull in ALL my hostgroup ID's from the DT API.

It used to work using 

1 REPLY 1

axel_ayala
Dynatrace Advisor
Dynatrace Advisor

You can try using the Monitored Entities API, using the entity type HOST_GROUP should give you what you are looking for:

/api/v2/entities?entitySelector=type%28%22host_group%22%29