BOX CLI Restrict external collaboration
Hi,
I have been using the BOX cli to create a user through powershell, although I want to restrict external collaboration for this user.
Sadly the CLI command to create a user does not offer this?
Usage: users create [arguments] [options] Arguments: name The user's name login The user's email address, not required when creating app users. Options: --bulk-file-path File path to bulk .csv or .json objects --app-user Set this user as an app user --id-only Return only an ID to output from this command -r|--role Role of user. Enter user or coadmin -l|--language Language of the user (ISO 639-1 Language Code) --sync-enable Enable Sync for this user --sync-disable Disable Box Sync for this user -j|--job-title Job title of the user -p|--phone-number Phone number of the user -a|--address Address of the user -d|--disk-space User's available storage in bytes. Value of -1 grants unlimited storage -s|--status User status. Enter active, inactive, cannot_delete_edit, or cannot_delete_edit_upload --is-exempt-from-device-limits Exempt user from device limits --not-exempt-from-device-limits User is not exempt from device limits --is-exempt-login-verification Exempt user from two-factor auth --not-exempt-login-verification User is not exempt from two-factor auth --password-reset Force the user to reset password --as-user Provide an ID for a user -h|--help Show help information --no-color Turn off colors for logging --prefix-output Show prefix information for logging. --json Output JSON string --token Provide a token to perform this call
Is there any other way to set this?
I have looked into the update command, but this doesn't offer it either.
We really need this functionality, so any ideas?
-
Hi — could you please file an issue at https://github.com/box/boxcli for this issue? We'll try to get this into the next CLI release, and you can track the work through that GitHub issue to know when it gets done!
Please sign in to leave a comment.
Comments
1 comment