Skip to main content

Cannot delete resources with spaces in public_id


1 comment

  • 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.

Post is closed for comments.