We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Navneet123
4 years agoNew member | Level 2
Embedder like pre built component for deleting files
I have a web application where i need user to be able to upload, view, delete files and folders using dropbox. I am using embedder and saver to do the above. But i am not able to allow user to delete...
Greg-DB
Dropbox Community Moderator
4 years agoDropbox doesn't offer a pre-built component like that for deleting files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
You could use the Dropbox Chooser to have the user select file(s) though, at which point the app would then receive the corresponding file ID(s). Refer to the Dropbox Chooser documentation for information on that:
https://www.dropbox.com/developers/chooser
Then, you could use the Dropbox API /2/files/delete_v2 endpoint to delete the file(s) by ID:
https://www.dropbox.com/developers/documentation/http/documentation#files-delete
Using an endpoint like that requires authorization. Refer to the OAuth Guide and authorization documentation for information on that:
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!