You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

olbarch's avatar
olbarch
Explorer | Level 3
3 years ago

API: List all teams and their workspaces id's in the Enterprise account

Hello!  If I have an enterprise account, can I list a summary of all of the connected teams within the account via the API? use case:  I have an enterprise account and several teams (other dropbo...
  • Greg-DB's avatar
    3 years ago

    Each Dropbox Business team contains a number of accounts or team members, and each Dropbox account can only be a member of a single Dropbox team at a time. Even when you have access to multiple teams via the "Enterprise console", they still operate as separate teams on the API.

     

    When connecting an API app to a team, the access token only enables access to that one team. To connect to multiple different teams, the app would need to be authorized by an admin for each, getting a different access token for each team. You can check the team information for any particular access token using /2/team/get_info. You can check the account information for any particular account (including information about what team it is a member of, if any), using /2/users/get_current_account.

     

    The Dropbox API doesn't offer the ability to list the multiple "connected teams" like the Enterprise console does, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 Following

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 or Facebook.

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!