How can I delete a dropbox file?
The only way I found was
Metadata metadata = client.files().delete(path);
But this is a deprecated version so I need the current one
You can find the current version of the Dropbox Java SDK, for Dropbox API v2, here:
https://github.com/dropbox/dropbox-sdk-java
To delete a file, you should use the deleteV2
method: