class FreeIpaClient {

    public User deleteUser(String userUid) throws FreeIpaClientException {
        FreeIpaChecks.checkUserNotProtected(userUid, () -> String.format("User '%s' is protected and cannot be deleted from FreeIPA", userUid));
        List<Object> flags = List.of(userUid);
        Map<String, Object> params = Map.of();
        return (User) invoke("user_del", flags, params, User.class).getResult();
    }

    public  FreeIpaClient(JsonRpcHttpClient jsonRpcHttpClient, String apiAddress, String hostname);
    public  FreeIpaClient(JsonRpcHttpClient jsonRpcHttpClient, String apiVersion, String apiAddress, String hostname);

}