Skip to main content

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!

  • Guillem

    It doesn´t work the example.

  • Raya Straus

    Hi Guillem,

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


Post is closed for comments.