public static ImageResult deleteLogImage(final String logId, final String logImageId) {

        //1) Get CSRF Token from "Edit Log" page. URL is https://www.geocaching.com/live/log/GLxyz
        final String csrfToken = getCsrfToken();
        if (csrfToken == null) {
            Log.w("Log Image Edit: unable to extract CSRF Token in new Log Flow Page");
            return generateImageLogError("No CSRFToken found");
        }

        //2,) Send a DELETE Request (which is a POST)
        try (HttpResponse response = websiteReq().uri("/api/live/v1/images/delete/" + logId + "/" + getGuidFrom(logImageId))
            .method(HttpRequest.Method.POST)
            .headers(HTML_HEADER_CSRF_TOKEN, csrfToken)
            .request().blockingGet()) {

            if (!response.isSuccessful()) {
                return generateImageLogError("Problem pasting log, response is: " + response);
            }

            return ImageResult.ok("", logImageId);
        }

    }
Provides methods to handle all aspects of creating, editing and deleting Log entries for GC.com (both caches and trackables)
main/src/main/java/cgeo/geocaching/connector/gc/GCLogAPI.java