This method allows to delete users.
This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See for more information.
(object)
Returns an object containing the IDs of the deleted users under the userids
property.
Deleting multiple users
Delete two users.
Response:
"jsonrpc": "2.0",
"result": {
"5"
]
},
}
CUser::delete() in ui/include/classes/api/services/CUser.php.