Forum Discussion

VictorNemiro's avatar
VictorNemiro
Explorer | Level 4
6 years ago
Solved

Access only to allowed content of a team member by some token.

Can i somehow generate access token not from administrator of team? Because i get all permissions and i can do all actions with all team content filed and content of private folders of other team members if i generate token in application from administrator role.
I can not generate token for applications of other member accounts. I get the error 'You must be a team administrator to perform this operation.'.
Can i somehow alow access of my application only to folders and files that shared for a some team member(not admin)?



  • It sounds like you're currently using a "Dropbox Business API" app. Access tokens for Dropbox Business API apps always allow access to the entire Business team, and can only be retrieved by team admins.

    If you instead want access tokens that can only access the accounts of specific members, you'll need to instead register an app for the "Dropbox API". Access tokens for Dropbox API apps only allow access to the contents of the specific account for the user that authorized it, and can be retrieved by any member, whether they're a team admin or not. Note that each end-user of a Dropbox API app needs to authorize the app themselves though. 

    Hope this helps! 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    It sounds like you're currently using a "Dropbox Business API" app. Access tokens for Dropbox Business API apps always allow access to the entire Business team, and can only be retrieved by team admins.

    If you instead want access tokens that can only access the accounts of specific members, you'll need to instead register an app for the "Dropbox API". Access tokens for Dropbox API apps only allow access to the contents of the specific account for the user that authorized it, and can be retrieved by any member, whether they're a team admin or not. Note that each end-user of a Dropbox API app needs to authorize the app themselves though. 

    Hope this helps!