# On-demand Schedule to Enable/Disable the Host Monitoring

**URL:** <https://community.dynatrace.com/t/on-demand-schedule-to-enable-disable-the-host-monitoring/21204>\
**Category:** Dynatrace API\
**Tags:** hosts-classic, dynatrace-api\
**Created:** [January 13, 2021, 1:42pm UTC](https://community.dynatrace.com/t/on-demand-schedule-to-enable-disable-the-host-monitoring/21204 "2021-01-13T13:42:04Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [March 4, 2024, 11:45am UTC](https://community.dynatrace.com/t/on-demand-schedule-to-enable-disable-the-host-monitoring/21204/15 "2024-03-04T11:45:06Z")

</div>

Hi,

API V1 is not deprecated:

 ![AntonPineiro_0-1709552670105.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/d95f89587d31a0c51b064d66d3139d03a82caa48.png)

Are you using API V2 for same purpuse? I would like to confirm if we can disable OneAgent vía API actually.

Thank you!

Best regards

---

_[View the full topic](https://community.dynatrace.com/t/on-demand-schedule-to-enable-disable-the-host-monitoring/21204)._
