v1が使えなくなったのでv2 modeをoverwriteで上書き curl -X POST https://content.dropboxapi.com/2/files/upload \ --header "Authorization: Bearer $KEY" \ --header "Dropbox-API-Arg: {\"path\": \"/file.txt\",\"mode\": \"overwrite\",\"autorename\": true,\"mute\": false}" \ --header "Content-Type: application/octet-stream" \ --data-binary @file.txt