Hi,
I have a few problems with the new API v2 when trying to remove a user:
curl -X POST https://api.dropboxapi.com/2/sharing/remove_folder_member \
--header "Authorization: Bearer <OMITTED>" \
--header "Content-Type: application/json" \
--data '{"shared_folder_id": "<OMITTED REAL FOLDER ID>", "member": { ".tag": "email", "email": "myemail@me.com"}, "leave_a_copy": false }'
The response says:
Error in call to API function "sharing/remove_folder_member": Cannot remove members by e-mail yet.
So I tried to get the dropbox_id to test if I can remove a collaborator through that, but I don't see an endpoint to get the dropbox_id neither an endpoint to list all the collaborators that a folder has.
I would be very grateful if someone can help me out.
Thanks a lot,
Ronan