Delete domain

				
					StructOperationResponse domainDelete(string idSession, string domain, string typeDelete)
				
			

Delete immediately a domain name.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name to be deleted.
  • typeDelete string
    Type of deletion (Only “NOW” is allowed).

An Object of type StructOperationResponse

  • The extension must support the immediate deletion. See structdomaintldinfo.HasImmediateDelete 
<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $StructOperationResponse = $clientSOAP->domainDelete($idSession, "netim.com", "NOW"); 
 
      print_r($StructOperationResponse); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>