Skip to main content
Question

Remove collaborators using Box CLI

  • May 22, 2025
  • 1 reply
  • 58 views

Forum|alt.badge.img

So, what I want to do is move folders from one user to another using the method outlined here: https://community.box.com/t5/Platform-and-Development-Forum/Is-there-a-API-to-transfer-ownership-of-folder-s-to-another/m-p/50567#M3942 but using the CLI.

I need to do this on an individual folder basis, so I can't use box users:transfer-content which would move everything in one go.

So far so good until I get to the last step:

delete the collaborations User A has on folders 1 and 2

 

Using box:folders you can add collaborators, but I don't see any method of removing them.

 

Any ideas how to do that using the CLI?

 

Thanks

1 reply

Forum|alt.badge.img

OK don't worry I found it:

box collaborations:delete ID