Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

Gonzo345's avatar
Gonzo345
Helpful | Level 5
9 years ago
Solved

Deleting a file using a Shared Link through the API

Hi there:

 

I'm brand new with the Dropbox API for .NET and I've made my steps forward.

 

The thing is that we want to work with shared links in terms of deleting files. I know I can use the

DropboxClient.Files.DeleteAsync(remoteRoute);

That would delete the file if I know the route it has, but... What about if I just know the link but I have full access to the account through the API? I mean, I could download the file (using the Files.DownloadAsync), but I couldn't delete the file unless I have the file route, which is not being provided if I recover the file through the shared link...

 

Thanks for all in advance. Mastering this official API is being... interesting :grin:

Gonzo345.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,000 PostsLatest Activity: 5 hours ago
382 Following

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!