This API call is used to edit a user in an account.
Any of the optional parameters that are not provided will remain unchanged on the edited user.
| Required Information | |
|---|---|
| Name | Description |
| action | adminusers |
| operation | edit |
| format | xml |
| edituserid | The id of the user to edit. |
| Optional Information | |
| uname | The new username for the user.(32 character limit) |
| fname | The new first name for the user.(32 character limit) |
| lname | The new last name for the user.(32 character limit) |
| role | The new role for the user.(16 character limit) See Get Roles for a list of locations. |
| upassword | The new password for the user. |
| location | The new location for the user. See Get Locations for a list of locations. |
| isactive | The new active status of the user, valid options are:
|
| timezone | The new timezone for the user, valid options are:
|
| displaycount | The new displaycount for the user, valid options are:
|
| The new email for the user.(64 character limit) | |
| attrfilter | The new attribute filter id for the user. |
| Reply Data | |
|---|---|
| Name | Description |
| message_id | The id of the user edited. |
Example Request:
http://test.zonarsystems.net/interface.php?action=adminusers&operation=edit&format=xml&edituserid=123&uname=testuser1&fname=Test&lname=User&role=Admin&upassword=password&location=Home&isactive=true&timezone=PST8PDT&displaycount=20
Example Reply:
<success ver="1">
<action>adminusers</action>
<message_id>123</message_id>
</success>