change

Available Since: V1

Change a user field. 

Request

POST api/1/user/change/
Parameter Description
uid The user ID change the parameter on.
field The field to update, one of:
  • passwd
  • username
  • displayname
  • email
  • tz
  • state
value

The value to set.

Where field is set to passwd the value is the MD5 of the new password to set.

For state the value is one of: 'active', 'disabled', 'pending' or 'blocked'.

Successful Response (200)

{
    "result": true
}

Unsuccessful Response (400)

{
    "result": false
}



TOP