cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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:Ā 

HTTP API v2 to overwrite files when moving them

HTTP API v2 to overwrite files when moving them

Eeosk T.
New member | Level 1

I'm using the /files/move endpoint, but getting the error that a file of the same name exists in the destination directory (which it does).

How can I set the HTTP request to simply override the existing file with the file being moved?

2 Replies 2

Greg-DB
Dropbox Staff

The API doesn't currently offer mode options like this (e.g., to force an overwrite) for the copy and move endpoints, so you'll need to delete the existing file first. We'll consider this a feature request though. 

Eeosk T.
New member | Level 1

Please do

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Eeosk T. New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?