One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Bonetooth
5 years agoNew member | Level 2
Asp.Net File Delete
Good Afternoon
I am trying to delete an uploaded image from my dropbox account via the api v2 on visual studio. I'm attempting to use Deletev2Async, however the path I'm sending is incorrect. When uploading an image, i'm storing the url that let's me show the image on my database but when using that I keep getting errors on the path.
[Edit]
Nvm Solved it. Thanks Anyway :)
- Greg-DB
Dropbox Staff
I'm glad to hear you already sorted this out.
For anyone else who comes across this with the same issue, note that to delete a file via the API, you should supply the Dropbox path of the file, not the URL. For example, when calling DeleteV2Async, you can supply the Metadata.PathLower or FileMetadata.Id value as the "path" parameter.
- BonetoothNew member | Level 2
For my solution, I saved the image name with extension and for the DeleteV2Async put:
"/Images/" + that image name
And it worked :)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 6 days ago
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!