This support forum is no longer in use. Please use the Cloudinary Community at to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Cannot delete resources with spaces in public_id


1 comment

  • Avatar
    Eric Pasos

    Hi Andres,

    When using the Admin API delete_resources method, the public_id must not be encoded (i.e., for your case, use space character instead of %20). For example:

            ["courses/I am testing/videos/Cows",
             "courses/I am testing/images/course_preview_img",
             "courses/I am testing/images/coverPhoto",
             "courses/I am testing/images/profilePhoto"
    { type: 'upload' },
    function(error, result) {console.log(result, error); });
    Hope this helps. Thanks.
    Comment actions Permalink

Post is closed for comments.