mdEmail® Registration API

deleteUser($session_id, $domain_name, $user_name)

deleteUser should be called when a max md user needs to delete an email user for a given domain. It can be retrieved via a soap request using the "deleteUser" method to https://api.max.md/deleteUser.php?wsdl.

Response

  (string) code - A response code. This will be "000" if there is no error
  (string) message - A description of the reponse code
  (string) values - For future use

Sample Code (using NuSoap)

$soap = new soapclient("https://api.max.md/deleteUser.php?wsdl",array( 'trace' => true, 'exceptions' => true, ));
$response= $soap->deleteUser($session_id, $domain_name, $user_name);
if ($response->code == '000') {
  echo $response->message;
}else{
  echo $response->message;
}

The xml for the WSDL can be found here