public Integer register(UserRequest request) {
        Preconditions.expectNotBlank(request.getName(), ErrorCodeEnum.INVALID_PARAMETER, "username cannot be empty");
        Preconditions.expectNotBlank(request.getPassword(), ErrorCodeEnum.INVALID_PARAMETER,
                "password cannot be empty");
        Preconditions.expectNotNull(request.getAccountType(), "accountType cannot be null");
        Preconditions.expectNotNull(request.getValidDays(), "validDays cannot be null");

        Response<Integer> response = ClientUtils.executeHttpCall(noAuthApi.register(request));
        ClientUtils.assertRespSuccess(response);
        return response.getData();
    }
Save user info

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