Deleting all one-time maintenance Windows from a monitor

You can delete all one-time maintenance window definitions from a monitor by sending an empty OneTimeMaintenanceWindows element in the AddOrUpdateMaintenanceWindows request. The following is a sample message:

<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:OneTimeMaintenanceWindows/>
         </prov:MaintenanceWindowMonitor>
      </prov:AddOrUpdateMaintenanceWindowsRequest>
   </soapenv:Body>
</soapenv:Envelope>

This message has no effect on the system if monitor 326334 has no one-time maintenance windows. However, if this monitor has any one-time maintenance window definitions, they will all be purged by this request.