List all Box users
box users
box users:add-email-alias USERID EMAIL
box users:create NAME [LOGIN]
box users:delete ID
box users:delete-email-alias USERID ALIASID
box users:email-aliases USERID
box users:email-aliases:add USERID EMAIL
box users:email-aliases:remove USERID ALIASID
box users:get [ID]
box users:get-email-aliases USERID
box users:groups ID
box users:invite EMAIL ENTERPRISEID
box users:invite-user EMAIL ENTERPRISEID
box users:list
box users:list-groups ID
box users:move-root-content USERID NEWUSERID
box users:search NAME
box users:terminate-session
box users:transfer-content USERID NEWUSERID
box users:update ID
List all Box users
USAGE
$ box users [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--max-items <value>] [-e | [-m |
--app-users | -a] | ] [--filter <value> | ]
FLAGS
-a, --all-users Results from all users
-e, --external-users Limit results to external users only
-h, --help Show CLI help
-m, --managed-users Limit results to managed users only
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--app-users Limit results to app users only
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--filter=<value> Search term to filter users on; matches prefixes of user name and login fields
--json Output formatted JSON
--max-items=<value> A value that indicates the maximum number of results to return. This only specifies a
maximum boundary and will not guarantee the minimum number of results returned. When
the max-items (x) is greater than 1000, then the maximum ceil(x/1000) requests will
be made.
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
List all Box users
ALIASES
$ box users:list
EXAMPLES
$ box users
See code: src/commands/users/index.js
Add a new email alias to a user
USAGE
$ box users:add-email-alias USERID EMAIL [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--confirm]
ARGUMENTS
USERID User ID to add email alias
EMAIL Email to add as alias
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--[no-]confirm Whether or not to confirm the email alias. Only Admins may automatically confirm an
alias.
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Add a new email alias to a user
ALIASES
$ box users:add-email-alias
EXAMPLES
$ box users:email-aliases:add 33333 [email protected]
Create a new Box User
USAGE
$ box users:create NAME [LOGIN] [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--external-id
<value> --app-user] [--id-only] [--sync-enable | ] [--exempt-from-device-limits] [--exempt-from-2fa]
[--restrict-external-collab] [--can-see-managed-users] [--password-reset] [-r user|coadmin] [-l <value>] [-j
<value>] [-p <value>] [-a <value>] [-d <value>] [-S active|inactive|cannot_delete_edit|cannot_delete_edit_upload]
[--timezone <value>] [--tracking-codes <value>]
ARGUMENTS
NAME The user's name
LOGIN The user's email address, not required when creating app users
FLAGS
-S, --status=<option> User status
<options: active|inactive|cannot_delete_edit|cannot_delete_edit_upload>
-a, --address=<value> Address of the user
-d, --disk-space=<value> User's available storage in bytes. Value of -1 grants unlimited storage
-h, --help Show CLI help
-j, --job-title=<value> Job title of the user
-l, --language=<value> Language of the user (ISO 639-1 Language Code).
https://developer.box.com/v2.0/docs/api-language-codes
-p, --phone-number=<value> Phone number of the user
-q, --quiet Suppress any non-error output to stderr
-r, --role=<option> Role of user. Enter user or coadmin
<options: user|coadmin>
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--app-user Set this user as an app user
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--[no-]can-see-managed-users User can see managed users
--csv Output formatted CSV
--[no-]exempt-from-2fa Exempt user from two-factor auth
--[no-]exempt-from-device-limits Exempt user from device limits
--external-id=<value> External ID for app users
--fields=<value> Comma separated list of fields to show
--id-only Return only an ID to output from this command
--json Output formatted JSON
--no-color Turn off colors for logging
--password-reset Force the user to reset password
--[no-]restrict-external-collab Restrict user from external collaboration
--save-to-file-path=<value> Override default file path to save report
--[no-]sync-enable Enable Box Sync for this user
--timezone=<value> The user's timezone. Input format follows tz database timezones
--tracking-codes=<value> Comma-separated list of key-value pairs to associate with the user. Format is
name=value,name=value
DESCRIPTION
Create a new Box User
EXAMPLES
$ box users:create "John Doe" [email protected]
See code: src/commands/users/create.js
Delete a Box User
USAGE
$ box users:delete ID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--notify] [-f]
ARGUMENTS
ID User ID to delete
FLAGS
-f, --force Delete user even if they own files
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--[no-]notify The user should be notified
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Delete a Box User
EXAMPLES
$ box users:delete 33333
See code: src/commands/users/delete.js
Delete an email alias from a user
USAGE
$ box users:delete-email-alias USERID ALIASID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
ARGUMENTS
USERID User ID to get email aliases
ALIASID The ID of the email alias to delete
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Delete an email alias from a user
ALIASES
$ box users:delete-email-alias
EXAMPLES
$ box users:email-aliases:remove 33333 12345
Get all Email Aliases for a User
USAGE
$ box users:email-aliases USERID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
ARGUMENTS
USERID User ID to get email aliases for
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Get all Email Aliases for a User
ALIASES
$ box users:get-email-aliases
EXAMPLES
$ box users:email-aliases 33333
See code: src/commands/users/email-aliases/index.js
Add a new email alias to a user
USAGE
$ box users:email-aliases:add USERID EMAIL [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--confirm]
ARGUMENTS
USERID User ID to add email alias
EMAIL Email to add as alias
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--[no-]confirm Whether or not to confirm the email alias. Only Admins may automatically confirm an
alias.
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Add a new email alias to a user
ALIASES
$ box users:add-email-alias
EXAMPLES
$ box users:email-aliases:add 33333 [email protected]
See code: src/commands/users/email-aliases/add.js
Delete an email alias from a user
USAGE
$ box users:email-aliases:remove USERID ALIASID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
ARGUMENTS
USERID User ID to get email aliases
ALIASID The ID of the email alias to delete
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Delete an email alias from a user
ALIASES
$ box users:delete-email-alias
EXAMPLES
$ box users:email-aliases:remove 33333 12345
See code: src/commands/users/email-aliases/remove.js
Get information about a Box user
USAGE
$ box users:get [ID] [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
ARGUMENTS
ID [default: me] ID of the user to get; defaults to the current user
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Get information about a Box user
EXAMPLES
$ box users:get 33333
See code: src/commands/users/get.js
Get all Email Aliases for a User
USAGE
$ box users:get-email-aliases USERID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
ARGUMENTS
USERID User ID to get email aliases for
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Get all Email Aliases for a User
ALIASES
$ box users:get-email-aliases
EXAMPLES
$ box users:email-aliases 33333
List groups a user belongs to
USAGE
$ box users:groups ID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--max-items <value>]
ARGUMENTS
ID ID of the user to get groups for
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--max-items=<value> A value that indicates the maximum number of results to return. This only specifies a
maximum boundary and will not guarantee the minimum number of results returned. When
the max-items (x) is greater than 1000, then the maximum ceil(x/1000) requests will
be made.
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
List groups a user belongs to
ALIASES
$ box users:list-groups
EXAMPLES
$ box users:groups 33333
See code: src/commands/users/groups.js
Invite an Existing Box User to Your Enterprise
USAGE
$ box users:invite EMAIL ENTERPRISEID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
ARGUMENTS
EMAIL Email address of the user to invite
ENTERPRISEID ID of the Enterprise to invite the user to
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Invite an Existing Box User to Your Enterprise
ALIASES
$ box users:invite-user
EXAMPLES
$ box users:invite [email protected] 12345
See code: src/commands/users/invite.js
Invite an Existing Box User to Your Enterprise
USAGE
$ box users:invite-user EMAIL ENTERPRISEID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
ARGUMENTS
EMAIL Email address of the user to invite
ENTERPRISEID ID of the Enterprise to invite the user to
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Invite an Existing Box User to Your Enterprise
ALIASES
$ box users:invite-user
EXAMPLES
$ box users:invite [email protected] 12345
List all Box users
USAGE
$ box users:list [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--max-items <value>] [-e | [-m |
--app-users | -a] | ] [--filter <value> | ]
FLAGS
-a, --all-users Results from all users
-e, --external-users Limit results to external users only
-h, --help Show CLI help
-m, --managed-users Limit results to managed users only
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--app-users Limit results to app users only
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--filter=<value> Search term to filter users on; matches prefixes of user name and login fields
--json Output formatted JSON
--max-items=<value> A value that indicates the maximum number of results to return. This only specifies a
maximum boundary and will not guarantee the minimum number of results returned. When
the max-items (x) is greater than 1000, then the maximum ceil(x/1000) requests will
be made.
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
List all Box users
ALIASES
$ box users:list
EXAMPLES
$ box users
List groups a user belongs to
USAGE
$ box users:list-groups ID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--max-items <value>]
ARGUMENTS
ID ID of the user to get groups for
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--max-items=<value> A value that indicates the maximum number of results to return. This only specifies a
maximum boundary and will not guarantee the minimum number of results returned. When
the max-items (x) is greater than 1000, then the maximum ceil(x/1000) requests will
be made.
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
List groups a user belongs to
ALIASES
$ box users:list-groups
EXAMPLES
$ box users:groups 33333
Move a user's root content to another user
USAGE
$ box users:move-root-content USERID NEWUSERID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--notify]
ARGUMENTS
USERID User whose content should be moved
NEWUSERID User to whom the content should be moved
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--[no-]notify Notify the user that their content has been moved
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Move a user's root content to another user
ALIASES
$ box users:move-root-content
EXAMPLES
$ box users:transfer-content 33333 44444
Search for Box users
USAGE
$ box users:search NAME [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [-e | [-m | | -a] | ]
ARGUMENTS
NAME Name of user to search for
FLAGS
-a, --all-users Results from all users
-e, --external-users Limit results to external users only
-h, --help Show CLI help
-m, --managed-users Limit results to managed users only
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Search for Box users
EXAMPLES
$ box users:search "John Doe"
See code: src/commands/users/search.js
Validates the roles and permissions of the user, and creates asynchronous jobs to terminate the user's sessions.
USAGE
$ box users:terminate-session [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--user-ids <value>...] [--user-logins
<value>...]
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--save-to-file-path=<value> Override default file path to save report
--user-ids=<value>... A list of user IDs
--user-logins=<value>... A list of user logins
DESCRIPTION
Validates the roles and permissions of the user, and creates asynchronous jobs to terminate the user's sessions.
ALIASES
$ box users:terminate-session
EXAMPLES
$ box users:terminate-session --user-ids 123 345 --user-logins [email protected] [email protected]
See code: src/commands/users/terminate-session.js
Move a user's root content to another user
USAGE
$ box users:transfer-content USERID NEWUSERID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s |
--save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--notify]
ARGUMENTS
USERID User whose content should be moved
NEWUSERID User to whom the content should be moved
FLAGS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--csv Output formatted CSV
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--no-color Turn off colors for logging
--[no-]notify Notify the user that their content has been moved
--save-to-file-path=<value> Override default file path to save report
DESCRIPTION
Move a user's root content to another user
ALIASES
$ box users:move-root-content
EXAMPLES
$ box users:transfer-content 33333 44444
See code: src/commands/users/transfer-content.js
Update a Box User
USAGE
$ box users:update ID [-t <value>] [--as-user <value>] [--no-color] [--json | --csv] [-s | --save-to-file-path
<value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q] [--remove] [-n <value>] [--sync-enable]
[--exempt-from-device-limits] [--exempt-from-2fa] [--restrict-external-collab] [--can-see-managed-users]
[--password-reset] [-r user|coadmin] [-l <value>] [-j <value>] [-p <value>] [-a <value>] [-d <value>] [-S
active|inactive|cannot_delete_edit|cannot_delete_edit_upload] [--timezone <value>] [--login <value>] [--external-id
<value>] [--tracking-codes <value>]
ARGUMENTS
ID User ID to update
FLAGS
-S, --status=<option> User status. Enter active, inactive, cannot_delete_edit, or
cannot_delete_edit_upload
<options: active|inactive|cannot_delete_edit|cannot_delete_edit_upload>
-a, --address=<value> Address of the user
-d, --disk-space=<value> User's available storage in bytes. Value of -1 grants unlimited storage
-h, --help Show CLI help
-j, --job-title=<value> Job title of the user
-l, --language=<value> Language of the user (ISO 639-1 Language Code).
https://developer.box.com/v2.0/docs/api-language-codes
-n, --name=<value> Set the user's name
-p, --phone-number=<value> Phone number of the user
-q, --quiet Suppress any non-error output to stderr
-r, --role=<option> Role of user. Enter user or coadmin
<options: user|coadmin>
-s, --save Save report to default reports folder on disk
-t, --token=<value> Provide a token to perform this call
-v, --verbose Show verbose output, which can be helpful for debugging
-y, --yes Automatically respond yes to all confirmation prompts
--as-user=<value> Provide an ID for a user
--bulk-file-path=<value> File path to bulk .csv or .json objects
--[no-]can-see-managed-users User can see managed users
--csv Output formatted CSV
--[no-]exempt-from-2fa Exempt user from two-factor auth
--[no-]exempt-from-device-limits Exempt user from device limits
--external-id=<value> External ID for app users
--fields=<value> Comma separated list of fields to show
--json Output formatted JSON
--login=<value> Change the user's primary email address used for logging into Box
--no-color Turn off colors for logging
--password-reset Force the user to reset password
--remove Remove the user from the enterprise, convert to free account
--[no-]restrict-external-collab Restrict user from external collaboration
--save-to-file-path=<value> Override default file path to save report
--[no-]sync-enable Enable Box Sync for this user
--timezone=<value> The user's timezone. Input format follows tz database timezones
--tracking-codes=<value> Comma-separated list of key-value pairs to associate with the user. Format is
name=value,name=value
DESCRIPTION
Update a Box User
EXAMPLES
$ box users:update 33333 --status inactive
See code: src/commands/users/update.js