# Is it possible to turn on/of certain problem notification enablements via time interval or API call?

**URL:** <https://community.dynatrace.com/t/is-it-possible-to-turn-on-of-certain-problem-notification-enablements-via-time-interval-or-api-call/52070>\
**Category:** Automations\
**Tags:** problem-notification, services, oneagent\
**Created:** [June 12, 2025, 5:21pm UTC](https://community.dynatrace.com/t/is-it-possible-to-turn-on-of-certain-problem-notification-enablements-via-time-interval-or-api-call/52070 "2025-06-12T17:21:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chloe\_bennett](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@chloe\_bennett](https://community.dynatrace.com/u/chloe_bennett)\
**Post date:** [June 12, 2025, 5:21pm UTC](https://community.dynatrace.com/t/is-it-possible-to-turn-on-of-certain-problem-notification-enablements-via-time-interval-or-api-call/52070/1 "2025-06-12T17:21:05Z")

</div>

Hi, I’m wondering if it is possible to turn off problem notification enablements either during certain time periods or via API call. I have a routine process where I need to make updates on a service I’m working on, but this requires turning the&nbsp;problem notification enablements off or Dynatrace will scream. My usually process at the moment is to turn it off prior to these these updates, but sometimes I wonder if I can just automate this step since it happens at the same time every time.

---

<div class="post-metadata">

**Author:** ![Akhil-Jayendran](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/akhil-jayendran/32/153_2.png) [@Akhil-Jayendran](https://community.dynatrace.com/u/Akhil-Jayendran)\
**Post date:** [June 12, 2025, 5:43pm UTC](https://community.dynatrace.com/t/is-it-possible-to-turn-on-of-certain-problem-notification-enablements-via-time-interval-or-api-call/52070/2 "2025-06-12T17:43:47Z")

</div>

Hello&nbsp;[@chloe\_bennett](https://community.dynatrace.com/user/88864)&nbsp;,

Yes, if you’re looking to disable problem notifications via the API, you can use the following endpoint: :&nbsp;[Settings API - Problem notifications schema table — Dynatrace Docs](https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/settings/schemas/builtin-problem-notifications)

Additionally, you might want to consider using&nbsp;[workflow](https://docs.dynatrace.com/docs/analyze-explore-automate/workflows) , which can help automate and manage such actions more efficiently.

Also, have you considered using a maintenance window for this scenario? It might help achieve the desired outcome without disabling notifications entirely.

---

<div class="post-metadata">

**Author:** ![mgome](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mgome](https://community.dynatrace.com/u/mgome)\
**Post date:** [June 12, 2025, 6:43pm UTC](https://community.dynatrace.com/t/is-it-possible-to-turn-on-of-certain-problem-notification-enablements-via-time-interval-or-api-call/52070/3 "2025-06-12T18:43:47Z")

</div>

You can use maintenance windows API to prevent alerting. &nbsp;There three options for maintenance windows:

- DETECT\_PROBLEMS\_AND\_ALERT
- DETECT\_PROBLEMS\_DONT\_ALERT
- DONT\_DETECT\_PROBLEMS

> **[Settings API - Maintenance windows schema table](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/schemas/builtin-alerting-maintenance-window)**
>
> View builtin:alerting.maintenance-window settings schema table of your monitoring environment via the Dynatrace API.
