public Integer update(UserRequest userInfo) {
        Preconditions.expectNotNull(userInfo, "userinfo cannot be null");
        Preconditions.expectNotNull(userInfo.getId(), "user id cannot be null");

        Response<Integer> response = ClientUtils.executeHttpCall(userApi.update(userInfo));
        ClientUtils.assertRespSuccess(response);
        return response.getData();
    }
Update user info

@param userInfo user info request
@return user id
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/UserClient.java