user/update
Update a user account.
PUT
Updates details in a user account.
Any fields that you don't explicitly set with this resource retain their previous value.
Parameters
| Parameter | Description | 
|---|---|
| id | Required. The GUID for the user account you want to change. To get the GUIDs for all users in the system, use GET user/list. | 
| Required. The email address used as the user's login name. | |
| password | Required. The user's password. | 
| first_name | Optional. The user's first name. | 
| last_name | Optional. The user's last name. | 
| ua_admin | Optional. Whether the user can log into the policy console and access API resources with administrator privileges. 
 | 
| ua_status | Optional. Whether the user can log into the policy console. 
 | 
Example request
Request
        CODE
    
    curl -b c.txt -c c.txt -X PUT https://bc.qwe.com/mocana-app-control/rest/user/update \
-d id="9b55d45c-8bd3-43ac-a02b-bd4406c7220c" \
-d email="email01@qwe.com" \
-d last_name="Zulu"Response
        CODE
    
    {
  "message": "", 
  "settings": [{
  "user": [{
    "email": "email01@qwe.com",
    "first_name": "",
    "id": "9b55d45c-8bd3-43ac-a02b-bd4406c7220c",
    "last_name": "Zulu",
    "ua_admin": "0",
    "ua_creation_date": "2015-11-22 15:39:26.0",
    "ua_modification_date": "2015-11-30 12:04:37.0",
    "ua_status": "0",
    "userUrl": "https://bc.qwe.com/mocana-app-control/rest/user/9b55d45c-8bd3-43ac-a02b-bd4406c7220c"
  }]
}