Delete SSL certificate

				
					StructOperationResponse WebHostingSSLCertDelete(string $IDsession, string $id, string $sslName)
				
			

Delete a SSL certificate.

REQUIRED

  • idSession string (32)
    Session ID.
  • id string
    Hosting ID.
  • sslName string
    ssl certificate’s name.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{
 
    $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
    $clientSOAP->WebHostingSSLCertDelete($idSession, "NW1024", "netim.net-SSL"); 
}
catch(SoapFault $fault) 
{
    echo "Exception : " .$fault->getMessage(). "\n"; 
}
 
if (isset($idSession)) 
{
    $clientSOAP->sessionClose($idSession); 
}