cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out 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: 

lock_file_batch prevents file from being edited in the web but the API still can

lock_file_batch prevents file from being edited in the web but the API still can

juandom_gett
Explorer | Level 4

Hi everyone! Hope you're having a great day 😀

 

I'm testing the lock functionality using two accounts; one is the owner of a shared folder and another is the user of that folder; sees it and uploads things inside.

 

So the thing I'd like to achieve is that after the user uploads a file to the folder that user can't delete it.

 

I've tested uploading with the user account token, and then locking with the lock_file_batch endpoint using the owner token, and when I see that file logged as the user, in the Dropbox web ui the actions for delete, rename and move are disabled, but when I use the API with a user token, I still am able to delete the file.

 

Is this normal and I didn't understand something right?

 

Thanks in advance.

1 Reply 1

Greg-DB
Dropbox Staff

Thanks for the report! I'll check on this with the team.

Need more support?
Who's talking

Top contributors to this post

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