TwentyThree Developer APIAPI Method: /api/user/update

API Method: /api/user/update

Last updated on June 3, 2013.

Update the information about a user.

Parameters

ParameterDescription
user_id (required) The ID of the user to be updated.
email 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"
}