Get a token. Returns the service account token by default
Get a token. Returns the service account token by default
USAGE
$ box tokens:exchange SCOPE
ARGUMENTS
SCOPE The scope(s) for the new token, separated by a comma if multiple are present
OPTIONS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-t, --token=token Specify the token to exchange
-u, --user-id=user-id Get a user token from a user ID
-v, --verbose Show verbose output, which can be helpful for debugging
--file-id=file-id Scope the token to a specific file
--folder-id=folder-id Scope the token to a specific folder
--no-color Turn off colors for logging
See code: src/commands/tokens/exchange.js
Get a token. Returns the service account token by default
USAGE
$ box tokens:get
OPTIONS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-u, --user-id=user-id Get a user token from a user ID
-v, --verbose Show verbose output, which can be helpful for debugging
--no-color Turn off colors for logging
See code: src/commands/tokens/get.js
Revoke a token. The token will no longer be valid for making API calls.
USAGE
$ box tokens:revoke TOKEN
ARGUMENTS
TOKEN The token to revoke
OPTIONS
-h, --help Show CLI help
-q, --quiet Suppress any non-error output to stderr
-v, --verbose Show verbose output, which can be helpful for debugging
--no-color Turn off colors for logging
See code: src/commands/tokens/revoke.js