Maintenance windows API

Dynatrace uses maintenance windows to ensure accurate monitoring data during planned maintenance of your systems.

The Maintenance windows API enables you to use 3rd party tools to manage maintenance windows and downtimes within a monitored environment. You can:

GET all maintenance windows

Lists all maintenance windows (and their parameters) available in your Dynatrace environment.

The request produces application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/maintenance
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/maintenance

POST a maintenance window

Creates a new or updates an existing maintenance window.

The request consumes application/json payload.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/maintenance
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/maintenance

GET a maintenance window

Lists all parameters of a maintenance window. You can also get the list of all maintenance windows (and their parameters) available in your Dynatrace environment.

The request produces application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/maintenance/{uid}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/maintenance/{uid}

DELETE a maintenance window

Deletes a specified maintenance window. Deletion can't be undone.

DELETE
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/maintenance/{uid}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/maintenance/{uid}