Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Traye
8 years agoExplorer | Level 4
Is role in v2 same as to permission in v1?
There was a permission attribute in v1 API.
"permissions": {
"is_admin": true
}
Is the above permission changed to the role as below?
"role": { ".tag": "member_only" }
We just want to confirm as we are planning to update our existing v1 API.
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
The Dropbox Business API v1, e.g., /1/team/members/list, only exposed a boolean attribute to indicate if a particular member is an admin, i.e., the is_admin you cited.
The Dropbox Business API v2, e.g., /2/team/members/list, exposes more granular admin information, to match the new admin functionality available in the Dropbox Business product.
The v1 'permissions' is roughly equivalent to the v2 'role', but there is more information in v2, so make sure you inspect the objects in the v2 documentation. For example, under /2/team/members/list, click TeamMemberInfo then AdminTier for more specific information on the different types of admins. For instance, the 'member_only' value indicates that the member is not an admin.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!