How to delete a image?

shivam9aug1996 Member Posts: 1
edited January 2 in Developer APIs

I need to delete this image



{ invalidate: true, resource_type: "image" },

(err, callResult) => console.log(err, callResult)


i have tried to use all combination of publicid .

But still i just get "not found"


  • Wissam
    Wissam Member, Cloudinary Staff Posts: 51

    Hi @shivam9aug1996 ,

    I have checked your account and indeed there is no resource with the name "uploaded-images/Screenshot 2023-12-31 at 5.39.20 PM.png".

    There is another resource with the name :

    Please note that the public ID in this case is


    Note that you don't need to add the following section image/upload/<version> as it is not part of the publicID.

    I hope this is helpful.

    Please let me know how it goes.