Is there any API to extract host groups and their ids available in the environment?
Solved! Go to Solution.
While there is nothing that will grab that values directly, that im aware of, you can get the data that you are looking for via the following API:
and within that Json the data you are looking for exists. But you'll need to parse that data out.
Parsing Example: