Disable Dynatrace Maintenance window from Jenkins

Hi Team,

I have created Jenkins Job and added parameters to it to Call Dynatrace Endpoint and create a maintenance window(Managed and SaaS).

As from UI we were able to disable maintenance window but wanted to check if same can be possible through Jenkins to call Dynatrace endpoint to disable it. As this option would helpful to disable maintenance window if the planned maintenance is completed earlier than the scheduled.

Thanks

Abhinav

Hi,

You can call this API to update a existing maintenace window, but you need objectId:

You can change enabled from “true” to “false”.

Best regards