Developer Function: Script: $p.apiUsersUpdate
## Overview
This section explains the method that allows you to update users via Ajax POST requests. Use this when you want to update user information.
## Syntax
##### JavaScript
```
$p.apiUsersUpdate({
id: <User ID>,
data: {
<Update data>
},
done: <Optional Processing>,
fail: <Optional Processing>,
always: <Optional Processing>
});
```
(Please note) Password and ApiKey cannot be changed.
## Description Of Each Key
|Key name|Description|Required|
|:--|:--|:--:|
|id|ID information of user to update|Yes|
|data|Update information of specified user information|Yes|
|done|API communication successful|Yes|
|fail|API communication failure|No|
|always|On completion|No|
## Usage Example
##### JavaScript
```
$p.apiUsersUpdate({
id: 123,
data: {
LoginId: 'HAYATO',
Name: 'Hayato Nakano'
},
done: function(data){
console.log(data);
},
fail: function(data){
console.log(data);
}
});
```