Announcements
Known issues updated. Learn more
Highlighted

Mode for Dropbox-API-Select-Admin header

Explorer | Level 3

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

1 Accepted solution

Accepted Solutions

Re: Mode for Dropbox-API-Select-Admin header

Dropboxer

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.

Reply
Loading...
1 Reply

Re: Mode for Dropbox-API-Select-Admin header

Dropboxer

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.

Reply
Loading...
API Support

Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.

Not the right discussion for you? Find out what else our Community has to say about API Support.

Or, search our Help Center for even more.

Who's talking
Top contributors to this post