delete
Discussion List
-
How to correctly delete folders with mixed contents by prefix?
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)…
-
How to Empty a Folder Using Cloudinary Go SDK?
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…
-
How to Empty Deleted Assets Folder
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…