4.1.3 Remove account
Remove account
The method allows you to remove the account from the system. After calling this method, the account will be deleted from the system along with the address book. The function does not delete the registration attempt for a given UDID.
After correct deletion of the account, a SIPLINK COMMAND with the content Contacts del will be sent to individual users (who had this user marked in their address book as a Vippie account).
URL: /remove.ashx
--header 'User-Agent: vippie;ios;1.2.3' \ --header 'Content-Type: text/plain' \ --header 'Authorization: Basic YW5kOmFuZDJhMzJkaW0=' |
---|
Parameters
Parameter | Description |
---|---|
l | Login - login of SIP account |
p | Password - password of SIP account |
Return value
- If the account deletion operation is successful, the method will return code 200 - the account has been deleted.
If an error occurred on the server, the method will return the appropriate error code shown below:
Code
Description
200
OK
400
Incorrect parameters - one of the parameters was not provided
403
Invalid HTTP method - only POST method accepted
406
The login and/or password are incorrect
500
Internal server error