cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Is role in v2 same as to permission in v1?

Is role in v2 same as to permission in v1?

Traye
Explorer | Level 4

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 1

Greg-DB
Dropbox Staff

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.

Need more support?
Who's talking

Top contributors to this post

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