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.

Deleting image by PublicID using api (directly from browser)



  • Official comment
    Maor Gariv


    Thanks for reaching out.

    It's possible to return a delete token for an uploaded image and use it to perform an unsigned delete (the token expires after 10 minutes).

    When using our widget and setting the Return delete token option to true from the upload preset, a small X sign will appear next to the image, allowing you to delete the image until the token expires.

    For example, here is a basic widget implementation with a preset the has the Return delete token option enabled -

    You'll see the X right nest to the thumbnail after the upload.


    Hope it helps!

    Comment actions Permalink
  • Avatar

    It doesn´t work the example.

    Comment actions Permalink
  • Avatar
    Raya Straus

    Hi Guillem,

    Can you please elaborate on what is not working for you?

    Comment actions Permalink

Post is closed for comments.