Synthetic Classic has reached end of support and is no longer available. Existing Synthetic Classic customers have been upgraded to the all-in-one Dynatrace software intelligence platform.

Deleting all recurring maintenance Windows from a monitor

You can delete all recurring maintenance window definitions from a monitor by sending an empty RecurringMaintenanceWindows element in the AddOrUpdateMaintenanceWindows request. The following is an example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <soapenv:Header/>
   <soapenv:Body>
      <prov:AddOrUpdateMaintenanceWindowsRequest>
         <prov:Credentials>
            <prov:UserName>testuser</prov:UserName>
            <prov:Password>testpassword</prov:Password>
         </prov:Credentials>
         <prov:MaintenanceWindowMonitor monitorId="326334"
                  xmlns="http://www.gomeznetworks.com/schemas/provisioning">
            <prov:RecurringMaintenanceWindows/>
         </prov:MaintenanceWindowMonitor>
      </prov:AddOrUpdateMaintenanceWindowsRequest>
   </soapenv:Body>
</soapenv:Envelope>

This message has no effect on the system if monitor 326334 has no recurring maintenance windows. However, if this monitor has any recurring maintenance window definitions, this request will purge them.