15 Feb 2021
	
		
		02:13 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		21 Aug 2024
	
		
		11:28 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			Michal_Gebacki
		
		
		
		
		
		
		
		
	
			
		
Is there any API to extract host groups and their ids available in the environment?
Solved! Go to Solution.
15 Feb 2021 02:48 PM
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:

