cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you new to Dropbox? Our Newcomers group is the perfect place to learn the basics, find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mode for Dropbox-API-Select-Admin header

Mode for Dropbox-API-Select-Admin header

frox
Explorer | Level 3
Go to solution

How to set  mode of Dropbox-API-Select-Admin header to "Team Admin" ?

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

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.

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?