How to remove self from collaborators via API?
AnsweredSuppose another user has shared a folder with me. I have become a collaborator with a role (viewer, editor) and see that folder in my files in Box.
Now I want to cease to be a collaborator and no longer see the shared folder in my files. In the Web UI, there is the corresponding command: More Actions > End Collaboration.
What is the API equivalent of that action?
-
Hi
You can use the collaborations endpoint to delete the collaboration
https://developer.box.com/reference/delete-collaborations-id/
You will need the collaboration ID which you can get from the folders endpoing
https://developer.box.com/reference/get-folders-id-collaborations/
Hope this helps
Rgds,
Peter Christensen, Platform Solutions Engineer, Box
Post is closed for comments.
Comments
1 comment