I have a self hosted instance with retool storage setup pointing to a local minIO S3 bucket.
The resource is working fine I can upload / delete / create folders etc.
The issue I am having is deleting a folder with content I get message "Folder is not empty"
I want to delete all the files at once by deleting the folder to avoid making some JS loop delete fileID query of all files in the folder.
Is there a way to force delete the folder and bypass the content warning?
(just reposting this under my user as previously it was posted by "system")
Hi @MacD87, unfortunately there is no way to bypass the content warning because at this time, bulk delete is not a feature of retool storage.
The current workaround is, similar as to what you mentioned, a query that reads file IDs from a folder and individually deletes each one. Thankfully there is a walkthrough on this here.
We have an open feature request for bulk delete as well, which I have added a +1 to for you.