SysDeleteUser
Delete user with option to also delete user's children.
Service | Operation |
---|---|
user | SYS_DELETE_USER |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var profileId = "a-profiled-id";
var optionsJson = {
"deleteChildren": true
};
var userProxy = bridge.getUserServiceProxy();
var postResult = userProxy.sysDeleteUser(profileId, optionsJson);
{
"service":"user",
"operation":"SYS_DELETE_USER",
"data":{
"profileId":"a-profiled-id",
"optionsJson":{
"deleteChildren":true
}
}
}
JSON Response
{
"status": 200,
"data": {}
}
Method Parameters
Parameter | Description |
---|---|
profileId | Profile ID of the user. |
optionsJson | Additional options, including 'deleteChildren' flag to also delete children of the user. Defaults to false if not specified. |