Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
How to set mode of Dropbox-API-Select-Admin header to "Team Admin" ?
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.
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.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!