Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
frox
7 years agoExplorer | Level 3
Mode for Dropbox-API-Select-Admin header
How to set mode of Dropbox-API-Select-Admin header to "Team Admin" ?
- 7 years ago
As you saw, the 'Dropbox-API-Select-Admin' header supports two different "modes": "Whole Team" and "Team Admin". These aren't something you can choose between on the client side though. Each API endpoint is written to support one of the modes, and you can't change which mode that is from your app.
You can check which mode is supported by any particular endpoint in the documentation for that endpoint, under the "AUTHENTICATION" section. For example, the /2/files/get_metadata endpoint lists support for "Dropbox-API-Select-Admin (Whole Team)", whereas the /2/files/upload endpoint list supports for "Dropbox-API-Select-Admin (Team Admin)".
I also recommend reviewing the Namespace Guide for more information on how to access various parts of a Business team.
Greg-DB
Dropbox Community Moderator
7 years agoAs you saw, the 'Dropbox-API-Select-Admin' header supports two different "modes": "Whole Team" and "Team Admin". These aren't something you can choose between on the client side though. Each API endpoint is written to support one of the modes, and you can't change which mode that is from your app.
You can check which mode is supported by any particular endpoint in the documentation for that endpoint, under the "AUTHENTICATION" section. For example, the /2/files/get_metadata endpoint lists support for "Dropbox-API-Select-Admin (Whole Team)", whereas the /2/files/upload endpoint list supports for "Dropbox-API-Select-Admin (Team Admin)".
I also recommend reviewing the Namespace Guide for more information on how to access various parts of a Business team.
About 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!