Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

mergesandbox12's avatar
mergesandbox12
New member | Level 1
9 months ago

Super Admin role in Dropbox via API

Hello Dropbox team! Amongst most File Storage integrations there's a concept of a Super Admin that has access to all users files/folders (including private/shared) in a drive. To access these folders/files via API most times it consists of enabling the scopes in the app and requesting a specific scope through OAuth2.0. 

To be able to do so in Dropbox, would that mean enabling just the Team `team_data.content.read`/`files.team_metadata.write` scopes? When connecting app through OAuth2.0 are there any additional scopes needed to enable access through the API?

1 Reply

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 months ago

    Hi mergesandbox12,

    Depending on the exact use case, you may only need access to the standard file storage endpoints; i.e., you can just use the "User Endpoints", these can be used by any kind of Dropbox account (including Business accounts).
     
    For teams using user-linked apps, by default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space".
     
    You can configure API calls to operate in the "team space" instead though, in order to interact with files/folders in the team space. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on how to use this in the Team Files Guide.
     
    That said, if you determine your app does need access to "Business Endpoints", we'd recommend referencing the documentation to figure out which exact scopes would need to be enabled: https://www.dropbox.com/developers/documentation/http/documentation.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!