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.
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.)
- Greg-DBDropbox Staff
No, the Dropbox API doesn't offer a way to programmatically retrieve the permission or access type for the app, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
For context, can you elaborate on why you need or want to be able to do so? Thanks!
- grahamsnumberExplorer | Level 3
Hi, Greg. We do cloud security across a number of different services, including Dropbox. We'd like to be able to determine the permissions requested by and granted to Dropbox apps by a user.
Are you aware of any way to do this, given the lack of a direct API for it, perhaps by looking at activity data, for example?
Thanks!
Dave
- grahamsnumberExplorer | Level 3
Hi, Greg. One last question: is there a programmatic way to retrieve a list of all apps?
Thanks!
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!