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

DT API for Infra and Full-Stack Toggle

Dynatrace Guide
Dynatrace Guide

Is there a DT API to get the correct calls to toggle a host from full_stack mode to infra-only, and vice versa? 


Dynatrace Champion
Dynatrace Champion

Hi @jarinmusarrat 
We have an API that does that but you have to first get the properties of the hosts using Hosts API (Configuration API) and then you need to pass the parameter as aPUT request to do that, here is an example of it, 

1. API to access

 take the payload after editing the property and use it in postman (PUT request).


"monitoringEnabled": true,
"monitoringMode": "FULL_STACK",
"autoInjectionEnabled": true


This API can be found in Configuration API > OneAgent on a Host.


Love more, hate less; Technology for all, together we grow.

Dynatrace Guide
Dynatrace Guide

Thank you @theharithsa. This is very helpful.


Featured Posts