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: 

docs/sharing_policy/set api not working fine

docs/sharing_policy/set api not working fine

kumargaurav0225
Explorer | Level 3

While setting sharing policy using docs/sharing_policy/set api,when I provide value for team_sharing_policy,I get invalid argument error.

 

 

'{"doc_id":"xyzvvn","sharing_policy":{"public_sharing_policy":{".tag":"invite_only"},"team_sharing_policy":{".tag":"invite_only"}}}'

1 Reply 1

Greg-DB
Dropbox Staff

Note that per the documentation:
"The default 'team_sharing_policy' can be changed only by teams, omit this field for personal accounts."

 

Are you on a team account? If not, remove that parameter and try again.

Need more support?
Who's talking

Top contributors to this post

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