API Method: /api/user/update
Update the information about a user.
Parameters
Parameter | Description |
---|---|
user_id (required) | The ID of the user to be updated. |
Update the e-mail address. | |
username | Update the username. |
password | Update the password. |
full_name | Update the name of the user. |
timezone | Update the user's time zone. |
site_admin |
Is the user to be an administrator? Valid values: 0 or 1 |
Permission level
The minimum required permission level if you are authorized at the user being updated:
admin
Otherwise the required level is:
super
Example XML Response
<response status="ok" permission_level="admin"
message="The user was updated" cached="0"/>
Example JSON Response
{
"status": "ok",
"message":"The user was updated",
"permission_level":"admin",
"cached":"0",
"p": "1",
"size": "1",
"site": { ... },
"endpoint": "/api/user/update"
}