06 Oct 2024
	
		
		11:09 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		07 Oct 2024
	
		
		08:15 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 MaciejNeumann
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
Hello Folks,
We have one agent running in fullstack mode in DC & want to change infra mode in one shot via api, could you please guide me how to do this.
Note: Dynatrace is in SaaS based model.
Thanaks
Solved! Go to Solution.
06 Oct 2024 02:06 PM
It's easy so, Kindly follow the shown example as per Dynatrace documentation , you will replace the example info with real environment info
api-config-oneagent-on-host-monitoring-put
Regards,
Peter
06 Oct 2024 02:19 PM
To get host id , access the server directly and check the SaaS URL as per attached example, use it to get the host id and run the Rest API accordingly
KR,
Peter.
