You can update a user using the CLI tool or REST API as shown below:
The user's username can not be changed in the updating process.
{ "userName": "kim", "credential": "kim12345", "role": "admin", "firstName": "Frank", "lastName": "Myers", "email": "foo@bar.com" }