Drop user

A method call to drop a user from the account. Only the administrator user is authorized to use this method.

Method Name: user.drop

Arguments: sid, id

Returns: sid, api_status, response_timestamp

Errors: Returns an error if an invalid user id was passed

Message: Returns a message indicating the user was deleted. No message will be returned if errors occurred

Example Request

<?xml version=”1.0” encoding=”UTF-8”?><methodCall> <methodName>user.drop</methodName> <params><param> <value><struct> <member> <name>sid</name> <value><string>5d58f1491c3355c6dfbdeccd76429a6c3a94cdc1</string></value> </member> <member> <name>id</name> <value><int>23</int></value> </member> </struct></value> </param></params></methodCall>

Example Response

<struct> <member> <name>sid</name> <value><string>5d58f1491c3355c6dfbdeccd76429a6c3a94cdc1</string></value> </member> <member> <name>messages</name> <value><array><data> <value><string>User Joe User Deleted</string></value> </data></array></value> </member> <member> <name>api_status</name> <value><int>200</int></value> </member></struct>

Thank you! Your feedback will help us to improve this guide.

Was this page helpful?


We're sorry to hear that

If you have the time, we'd love to know how we could improve it.

Need to contact a human?

Get in touch