Discussions
-
How to update shared folder link access from edit to view
I've successfully created a backend service to update shared folder member access to view only; however, the the shared folder link is still set to Edit access. I thought using the https://api.dropboxapi.com/2/sharing/modify_shared_link_settings endpoint would do the trick passing in the following parameters: {"url":…
-
Update Shared Folder Group Access Type
Is there a way to update a group's access from editor to viewer on a shared folder? I've been able to use the UpdateFolderMemberAsync for users and invitees. Not sure I can use that endpoint with the MemberSelector parameter.
-
Remove invitees from folders that don't have a Dropbox set up
If a folder has been shared with a member that doesn't have a Dropbox set up, is there a way to programmatically remove them? I'm currently get members of a shared folder as follows: await dbxClient.Sharing.ListFolderMembersAsync(sharedFolderId, null, 1000); I then go through each member and either change their permissions…
-
How to UpdateFolderMemberAsync
How do I create an instance of AccessLevel set to a value of Viewer? Here's a snippet of my code: AccessLevel.Viewer accessLevel = new AccessLevel().AsViewer; foreach (var member in members) { if(!member.AccessType.IsOwner) { MemberSelector.DropboxId memberSelector = new MemberSelector.DropboxId(member.User.Email);var yep…
-
Retrieve thousands of files and folders without throttling
I'm trying to generate a nice big array for each user that contains all the files and folders the user owns as well as the users that each file/folder is shared with (e.g. users: ["John Doe": [{"name":"DemoDoc", "type": "file", "isShared": true, "sharedWithUsers": "bob@company.com", "joe@company.com"},{"name":"DemoFolder",…