Hi,
I am using the AddFolderMemberAsync (.NET SDK) to give access to a shared folder which is created with no access by default(it does not inherit members from parent folder, which is a team folder). Yesterday I noticed that sharing the folder did not work. I ran some tests with Postman as well - I am getting a null response and no exceptions, but the folder is still not shared even after a successful api call
Here is the code I've implemented:
-Creation of the folder
await dbt.AsAdmin(teammemberID).Sharing.ShareFolderAsync("ns:" + FolderId + "/" + Name, null, false, null, null, null, AccessInheritance.NoInherit.Instance);
-Sharing it
await dropboxClient.AsAdmin(teamAdminId).Sharing.AddFolderMemberAsync(SharedFolderId, newViewers);
Any help is appreciated!