Skip to main content
Question

How to remove self from collaborators via API?

  • May 22, 2025
  • 1 reply
  • 16 views

Forum|alt.badge.img

Suppose 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?

1 reply

Forum|alt.badge.img

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