Removing users in JSON-RPC API
To remove a user, use the RemoveUser method.
Once a User is removed, this cannot be undone. There is no way to undo the deletion of a user.
Required parameters
| Parameter | Description | Supported values |
|---|---|---|
userId
|
The ID of the user to remove | <int> Integer |
Sample request
{
"id": "jsonrpc",
"visa": "{{visa}}",
"method": "RemoveUser",
"jsonrpc": "2.0",
"params": {
"userId": 12345
}
}
Sample response
{
"id": "jsonrpc",
"jsonrpc": "2.0",
"result": null,
"visa": "{{visa}}"
}
