Use this method to remove a user account for the user as specified. The output of a successful call is a simple '200 OK'.
Parameters Allowed
The following variables are used by the user.remove method and should be provided as part of the request XML in the HTTP POST request:
- password – A required parameter which the API uses to authenticate access to a page and which is set by your administrator.
- domain – A required parameter that specifies the user account to be removed.
Arguments
user: test@abcd.com
Sample Request
?xml version="1.0" encoding="UTF8"?>
<methodCall>
<methodName>user.remove</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>user</name>
<value>
<string>
<![CDATA[test@abcd]]>
</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Response
OK <?xml version="1.0" encoding="UTF8"?>
<methodResponse>
<params
<param>
<value>
<struct>
<member>
<name>Result</name>
<value>
<string>
<![CDATA[200: OK]]>
</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>