Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
When I use the API to delete a folder with:
https://api.dropboxapi.com/2/files/delete_v2
If the path to the folder is:
/somepath/mydomain.com
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.
@noornoor12gmal If you're having trouble with the Dropbox API, please open a new thread with the details of the issue. Thanks!
@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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!