Updated on 2022-09-14 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 rest.UserManager class.

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