Deleting Users
Function
Access the FusionInsight Manager interface to delete users.
Example code
The following provides an example code of deleting users, which uses the main method of the UserManager class in the rest package.
//Access the FusionInsight Manager interface to delete users.
operationName = "DeleteUser";
String deleteJsonStr = "{\"userNames\":[\"user888\"]}";
operationUrl = webUrl + DELETE_USER_URL;
httpManager.sendHttpDeleteRequest(httpClient, operationUrl, deleteJsonStr, operationName);
LOG.info("Exit main."); Last Article: Modifying Users
Next Article: Exporting a User List
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.