We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
grahamsnumber
5 years agoExplorer | Level 3
Dropbox API - retrieve permissions of an app
Hi, all. Is there an API to retrieve the permissions of an app? I'm very new to the Dropbox API, and haven't been able to find this.
- 5 years ago
Thanks! That's correct, there isn't currently a way to programmatically list team-linked apps. (If you're using a Dropbox Business API with auditing access, you can look up 'app_link_team'/'app_unlink_team' events from /2/team_log/get_events[/continue], but that's not a great solution. It would be more work to implement and be less efficient.) I'll send this along as a request for a proper way to list team-linked apps and their permissions, but I can't promise if or when that might be implemented though.
Also, it sounds like you're referring to the deprecated /2/team/linked_apps/list_team_linked_apps endpoint. That didn't actually let you list "team-linked" apps, but rather list the (user-linked) apps for members on the connected team. We replaced it because it was confusingly named.
And yes, there is a "Select" Access" permission, mentioned in this help center article. That's a different kind of app, but it will come up in the list_members_linked_apps/list_member_linked_apps lists, with "is_app_folder": false. (The API unfortunately does not offer enough granularity to distinguish between different kind of non-app folder apps.)
grahamsnumber
Explorer | Level 3
Great information, Greg - you've saved me a bunch of time!
So if I understand correctly, the is_app_folder field will tell me the permission level of a user-linked app (using the Business API), but I can't get team-linked app permissions (like Team Information, Team Auditing, etc). Also, there is another permission level, "Select Access", for user-linked apps, I think?
Given what we're trying to do, I would indeed be interested in being able to list and see the permission of team-linked apps (I see that there used to be such an endpoint but it was deprecated).
Thanks again!
Greg-DB
5 years agoDropbox Staff
Thanks! That's correct, there isn't currently a way to programmatically list team-linked apps. (If you're using a Dropbox Business API with auditing access, you can look up 'app_link_team'/'app_unlink_team' events from /2/team_log/get_events[/continue], but that's not a great solution. It would be more work to implement and be less efficient.) I'll send this along as a request for a proper way to list team-linked apps and their permissions, but I can't promise if or when that might be implemented though.
Also, it sounds like you're referring to the deprecated /2/team/linked_apps/list_team_linked_apps endpoint. That didn't actually let you list "team-linked" apps, but rather list the (user-linked) apps for members on the connected team. We replaced it because it was confusingly named.
And yes, there is a "Select" Access" permission, mentioned in this help center article. That's a different kind of app, but it will come up in the list_members_linked_apps/list_member_linked_apps lists, with "is_app_folder": false. (The API unfortunately does not offer enough granularity to distinguish between different kind of non-app folder apps.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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 or Facebook.
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!