Use this API to delete a specific account.

Important: Deleting an account will remove all account information and backed up data, so use this API
with caution.

  • Authentication token

The reseller’s authentication token to authorize use of the APIs this must be passed as type string

  • Account ID

Account ID for the account you wish to delete as type integer

Code MessageComments
1000The account has been Deleted Action successful
1002Invalid Authentication Token The authentication token is
incorrect, please check it and try
again
1007General Error. DB error Unexpected database error, if
this error occurs, try again later
1007Invalid Account ID, Account ID does not belong to you The account ID specified is not a
user under your reseller account
1007General Error. DB errorUnexpected database error, if
this error occurs, try again later
1008Invalid Account ID or Account ID does not exist Make sure that the account ID
you have a registered account
with that account ID
1008Invalid Account ID, Account ID does not belong to youThe account ID specified is not a
user under your reseller account

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced
with actual values.

POST /Services/Reseller/Service.asmx HTTP/1.1
Host: 192.168.0.33
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version=”1.0″ encoding=”utf-8″?>
<soap12:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap12=”http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<DeleteAccountUsingAccountID xmlns=”Zoolz”>
<authToken>string</authToken>
<accountID>int</accountID>
</DeleteAccountUsingAccountID>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version=”1.0″ encoding=”utf-8″?>
<soap12:Envelope xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:soap12=”http://www.w3.org/2003/05/soap-envelope”>
<soap12:Body>
<DeleteAccountUsingAccountIDResponse xmlns=”Zoolz”>
<DeleteAccountUsingAccountIDResult>
<Code>Success or MissingParameters or InvalidAuth or InvalidEmail or
InvalidPassword or UsedEmail or PlanError or GeneralError or
InvalidAccount</Code>
<Message>string</Message>
<Joson>string</Joson>
</DeleteAccountUsingAccountIDResult>
</DeleteAccountUsingAccountIDResponse>
</soap12:Body>
</soap12:Envelope>