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

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 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.

Hello @chloe_bennett ,

Yes, if you’re looking to disable problem notifications via the API, you can use the following endpoint: : Settings API - Problem notifications schema table — Dynatrace Docs

Additionally, you might want to consider using workflow , 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.

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

  • DETECT_PROBLEMS_AND_ALERT
  • DETECT_PROBLEMS_DONT_ALERT
  • DONT_DETECT_PROBLEMS