User.update_pref

User.update_pref

This method updates the preferences for the user account specified. The output of a successful call is a simple '200 OK'.

Parameters Allowed

The following variables are used by the user.update_pref method. These variables 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 whose preference is to be updated.

First, use the config.set method to set the user- specific variables for preferences, then use this method to update the preferences.

Arguments

user: test@abcd.com

Sample Request
 <?xml version="1.0" encoding="UTF8"?> <methodCall> <methodName>user.update_pref</methodName> <params> <param> <value> <struct> <member> <name>user</name> <value> <string> <![CDATA[test@abcd]]> </string> </value> </member> </struct> </value> </param> </params> </methodCall>