Dropbox installs & integrations
Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.
Hi, I'm trying to create a rule that if folder is empty , then delete.
Can't find options on dropbox. Does someone know how I could achieve this?
WalterCommunity Moderator @ Dropboxdropbox.com/support
Did this post help you? If so, please give it a Like below. Still stuck? Ask me a question! Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.
Thanks for the reply. Do you have any directives / tips on the quickest way to do it through APIs?
To be honest, I'm not sure about this @drinkboxxer. @Greg-DB any ideas here perhaps?
If you're a programmer, you could write code to use the API to list the contents of an account, and delete empty folders.
For instance, to list the contents of any path:
And to delete a file or folder at a path:
By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:
Those have corresponding native methods for the HTTPS endpoints.
If you're not already familiar with the API, the following guides may be helpful:
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!