Delete a test (TestStatusUpdate)

In this use case, you want to delete a test, which decreases the number of active tests and increases the number of available tests. The number of tests that you can create is currently constrained to the number you purchased. So it is beneficial to delete tests when they are no longer useful to you. The method to do this is TestStatusUpdate(). Change the test’s status to Deleted and the test is deleted.

Sample request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:prov="http://www.gomeznetworks.com/schemas/provisioning">
   <soapenv:Header/>
   <soapenv:Body>
      <prov:TestStatusUpdateRequest>
         <prov:Credentials>
            <prov:UserName>MyUser</prov:UserName>
            <prov:Password>MyPassword</prov:Password>
         </prov:Credentials>
         <!--1 or more repetitions:-->
         <prov:TestStatusUpdate monitorId="270276" status="Deleted"/>
      </prov:TestStatusUpdateRequest>
   </soapenv:Body>
</soapenv:Envelope>