We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
athithan
3 years agoHelpful | Level 5
How can I retrieve a list of all the members who have been granted access to a file in team folder
A member of a team has created a folder in the team folder, inside the folder there is a file. This file is shared with multiple users, excluding the admin. With admin privilege, I am able to retriev...
Greg-DB
Dropbox Community Moderator
3 years agoathithan To echo what Здравко said, how did you make these two calls? It may be helpful if you can share the request for each of them so we can take a look. Be sure to redact the access token though. You can open an API ticket here if you'd prefer to share privately.
- athithan3 years agoHelpful | Level 5
@gerg-DB
1. First I tried to list all the members as admin (page limit set to = 1)
2. Then the I used the cursor to list the rest of the members wit same privilege,
3. Then I tried to use the admin as a user, received an error because, the file is not shared with admin
- Здравко3 years agoLegendary | Level 20
Try skip/jump over the second step.
- athithan3 years agoHelpful | Level 5
Thank you for your answers, but I couldn't catch you Could you please elaborate a bit more
- Greg-DB3 years ago
Dropbox Community Moderator
athithan Thanks for the additional information. I'll ask the team to support "Dropbox-API-Select-Admin" on /2/sharing/list_file_members/continue, but I can't promise if or when that might be done though.
Instead, you'd need to use "Dropbox-API-Select-User", but make sure you're providing the member ID of an account that does have access to the specified file.
- athithan3 years agoHelpful | Level 5
In my scenario, the admin needs to retrieve all the team folders and files, including shared members of the files and folders. Therefore, I am making multiple requests in a loop. However, if a folder is not shared with the admin, it will throw an error when trying to get the next page members (/continue). At this point, it is difficult to switch back to 'Dropbox-API-Select-User' because the admin is the owner of all content in the team folder, and I do not know the original owner of the folder. In my opinion, the /continue endpoint should support fetching the next page members in this case. I am looking forward to seeing your response. 🙏
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!