When I use the API to delete a folder with:
If the path to the folder is:
The folder will not delete. Interestingly, an empty json string is returned from the Dropbox API server.
I am going to call this a bug, because it states in the Dropbox API documentation that folders, that developers should avoid using a . (period) or a space at the end of a file or folder name, but not in the middle of a folder or file name.
@Charles R.5 I just wanted to follow up on this with two notes:
- The team pointed out that if you want to make sure you're deleting a folder, you can specify the folder's "id" as the `path` value for the delete_v2 call
- For the opposite case, where you want to make sure you're deleting a specific file, we added a `parent_rev` parameter to delete_v2.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.