Delete dns record

				
					StructOperationResponse domainZoneDelete(string idSession, string domain, string subdomain, string type, string value)
				
			

Delete a DNS record into the domain’s zonefile.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • subdomain string (255)
    Sub domain.
  • type string
    Type of DNS record.
  • value string (150)
    Value of DNS record.

An Object of type StructOperationResponse

<?php
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try
{
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN");
      $StructOperationResponse = $clientSOAP->domainZoneDelete($idSession, "netim.com", "www", "A", "192.168.0.1");
 
      print_r($StructOperationResponse);
}
catch(SoapFault $fault)
{
      echo "Exception : " .$fault->getMessage(). "\n";
}
 
if (isset($idSession))
{
      $clientSOAP->sessionClose($idSession);
}
?>