Skip to main content
Question

Using CLI to adjust Folder Settings

  • May 22, 2025
  • 1 reply
  • 8 views

Forum|alt.badge.img

Hello, I am using Powershell to run scripts with Box, and am looking for the syntax to update the settings of a folder so that the folder is restricted to the enterprise, only owners/co-owners can invite collaborators, and only collaborators can access files in the folder via shared links.

I have been able to set the owner/co-owners setting with this syntax:
box folders update $FOLDER_ID --only-owners-can-invite

 

But I cannot find a similar syntax to set the restriction to enterprise and that only collaborators can access via shared links.  Does anyone know the commands to do so?

1 reply

Forum|alt.badge.img

 Unfortunately, the other folder settings you mentioned cannot be set via API, and so are not available in the CLI.  At this time, you will need to set those manually through the web application.