Developer Function: Script: $p.apiUsersDelete
## Overview
This section explains the method that allows you to delete a user via an Ajax POST request. Use this when you want to delete user information.
## Syntax
##### JavaScript
```
$p.apiUsersDelete({
id: <User ID>,
done: <Optional Processing>,
fail: <Optional Processing>,
always: <Optional Processing>
});
```
## Description Of Each Parameter
|Parameter name|Description|
|:--|:--|
|User ID|User ID information|
|Optional processing|Processing when API communication is successful (done: required), when it fails (fail: optional), and when it is completed (always: optional)|
## Usage Example
```
$p.apiUsersDelete({
id: 123,
done: function (data) {
console.log(data);
console.log('The user information was deleted successfully.');
},
fail: function () {
console.log('Failed to delete user information.');
},
always: function () {
console.log('User information has been deleted.');
}
});
```