cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

save_url endpoint to overwrite any files with same names rather copy? (v2)

save_url endpoint to overwrite any files with same names rather copy? (v2)

kypostman
New member | Level 2

I am creating an integration using Postman Monitors. 

And I need to be able to overwrite any files with the same name when uploading using save_url. 

Is this possible? Cause the only other way I'd be able to do this is to delete the whole contents and painstakingly upload everything :sob:

1 Reply 1

Greg-DB
Dropbox Staff

No, unfortunately the /2/files/save_url endpoint doesn't offer "write mode" options, e.g., to overwrite an existing file at the specified location, like /2/files/upload does. I'll pass this along as a feature request, but I can't promise if or when that might be implemented. 

I'm not sure I understand your other comment though. For context for the feature request, can you elaborate? For instance, as a workaround, you can check if the file already exists first, then delete it if so, and then use save_url to upload the new file at that same location the same way. Would that not work in your use case? Thanks!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?