API or cli way to remove access from folder

Hi there,

I have few folder on which i have given access to different users. Now to meet compliance I need to remove access after a certain frequency. I want to know ways through which i can remove this access (which i have given to 1000+ users) from a certain folder. Manually its very tedious. I can work in Java/python and cli…thanks for reading it. Thanks a ton.

Hello! :wave:

Thanks for posting on the forum. :smiley:

This would be a great use case for using the bulk commands feature of the Box CLI - See more on that here. I have a youtube video further up on that page showing how to use it as well! It isn’t using collaborations - but the steps would be very similar.

Thanks,
Alex - Box Developer Advocate :avocado: