Delete FTP user

				
					StructOperationResponse WebHostingFTPUserDelete(string $IDsession, string $id, string $username)
			

Delete a FTP user.

REQUIRED

  • idSession string (32)
    Session ID.
  • id string
    Hosting ID.
  • username string
    Name of the user to be deleted.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{
 
    $idSession = $clientSOAP->sessionOpen("XX000", "xxxxxxxx"); 
    $clientSOAP->WebHostingFTPUserDelete($idSession, "NW1024", "admin"); 
}
catch(SoapFault $fault) 
{
    echo "Exception : " .$fault->getMessage(). "\n"; 
}
 
if (isset($idSession)) 
{
    $clientSOAP->sessionClose($idSession); 
}