Updated on 2022-07-11 GMT+08:00

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.");