Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Ronan W.'s avatar
Ronan W.
New member | Level 1
10 years ago

New API v2 sharing and unsharing errors

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

2 Replies

Replies have been turned off for this discussion

About Dropbox API Support & Feedback

Node avatar for 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!