Search or scroll through everything
I have a couple of uploaded files. I want to delete them and I was able to do so for all but one file. When I select the last one and press delete, I get a message saying "2 files deleted successfully" even though I only selected one file. And that file is still present in the media explorer even if I refresh the page. The…
I am trying to delete an image. It says that the image is not found but it still opens on the cloudinary_url. >>> cloudinary.uploader.destroy("user_cls1hjqjd00004enqgohyclng_profile_image") {'result': 'not found'} >>> cloudinary.utils.cloudinary_url("user_cls1hjqjd00004enqgohyclng_profile_image")…
Do I need to make any other settings in my Cloudinary account to have permission to delete directories?
Hi, I am using this API Cloudinary::Api.delete_resources([public_id_1, public_id_2], { all: true, resource_type: 'video' }) I am planning to delete the original asset and other derived transformations EXCEPT one of the transformations (basically thumbnail) of the original asset. Is that possible? If so, please suggest me…
I am trying to delete photos from my API using the photo public id but with one issue, I have the photos inside a folder so the photo public id is something like this: foldername/photoname_dkjshksjhdk and if i try to delete that photo it will bring error file not found as it will treat it as a path rather than public id.…
Hi, i am trying to delete a resource from cloudinary using publicId, but its not working. It does console .log 'Resource deleted successfully:', undefined; It's in nest Js Below is my code: private destroy(publicId: string): Promise<void> { console.log('this is public id', publicId); return new Promise((resolve, reject) =>…
I'm trying to delete an image using the Nodejs SDK. const result = await cloudinary.uploader.destroy(profile.id); But it returns a result of 'not_found' even though I'm specifying the correct public id As you can see in the pics above, the id of the resource in the media lib matches what is in the console (profile.id =…
I have my assets grouped 9 per asset folder and some 23,000 asset folders. I want to delete any asset folder which contains no assets. I have developed a purge utility which recursively traverses the asset folders and does what I need. HOWEVER when I run this in my production environment it hit the 5000 calls/h limit once…
I have a bunch of test folders with both images and raw files in them which I want to delete. I have this code: let folders = await cloudinary.api.sub_folders('albums').then(resp => resp.folders) var folders_to_delete = folders.filter((f) => f.name.startsWith('test')) console.log("folders to delete: ", folders_to_delete)…
I encountered an issue when trying to delete a folder, as it showed an error that the folder was not empty. To address this, I found a solution using DeleteAssetsByPrefix method. However, the folder might contain various types of assets such as images, videos, or raw files. To handle this, I attempted to delete each asset…
Recently I was alerted that I had exceeded my storage quota. I logged into the GUI and used Shift Select to highlight all of my content then selected Delete. I did not perform a Bulk Delete. Days later I found that my storage was still way over capacity. I found the Deleted Assets folder in my media library with a record…
You need to be logged in to ask or answer questions. You can use your Cloudinary account, just click the "Sign In" button.