We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
jak01
10 months agoExplorer | Level 3
Bulk Deleting of Files
I have read the suggestion of deleting smaller numbers of files when getting the "There are too many files in one request. Please retry with fewer files." message.
The issue is I have a couple of million files I want to delete. Manually selecting individual files is not a reasonable option. Is there a API that can be used to directly address the cloud storage?
3 Replies
- Здравко10 months agoLegendary | Level 20
Hi jak01,
Yes, there are API access points letting file delete. Take a look here and the followings.
Good luck.
- jak0110 months agoExplorer | Level 3
Thank you
This looks promising
- Greg-DB10 months ago
Dropbox Community Moderator
Yes, as Здравко said, Dropbox does offer an API that includes endpoints that can be used to delete files, such as /2/files/delete_v2, as well as /2/files/delete_batch which supports deleting multiple files at once.
Also note that those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. The SDKs have corresponding native methods for the HTTPS endpoints.
About Discuss Dropbox Developer & API
Make connections with other developers814 PostsLatest Activity: 12 hours ago
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 or Facebook.
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!