Hello.
When I refuse invitation of sharing folder, how can I remove mountable folder via API?
I want to delete the folder from results of list_mountable_folders and list_folders endpoints.
Thanks.
To remove a mountable folder, you should use the /2/sharing/relinquish_folder_membership endpoint (or corresponding native method in an SDK/library).
That will remove the shared folder from the /2/sharing/list_folders[/continue] and /2/sharing/list_mountable_folders[/continue] lists. Note that this cannot be undone from the recipient's side. The shared folder owner/member would need to re-invite the recipient if they later wish to join.
That's the answer I wanted.I succeeded.