Accounts
List Accounts
List all users within an Organization.
USAGE
$ apimetrics org accounts [--json] [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output
csv|json|yaml | | [--csv | --no-truncate]] [--no-header | ] [-o <value>]
FLAGS
-o, --org-id=<value> ID of organization to read. Overrides apimetrics config org set.
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=<option> output in a more machine friendly format
<options: csv|json|yaml>
--sort=<value> property to sort by (prepend '-' for descending)
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List all users in organization.
EXAMPLES
$ apimetrics org accounts
Name Email Roles Last login
───────────────── ───────────────── ──────────────────────── ────────────────────────
[email protected] [email protected] DEFAULT 2023-08-02T21:15:48.072Z
Bob [email protected] DEFAULT, ADMIN, DEV_TEAM 2023-08-01T23:41:07.733Z
$ apimetrics org accounts
Name ID
───────────────── ──────────────────────────────
[email protected] auth0|abcdefghijklmnopqrstuvwx
Bob auth0|zyxwvutsrqponmlkjihgfedc
Edit Account
Edit an account within the Organization. User IDs can be found in the Accounts section of the Organization Settings.
USAGE
$ apimetrics org accounts edit [--json] [-u <value>] [--add-role <value>] [--remove-role <value>] [-o <value>]
FLAGS
-o, --org-id=<value> ID of organization to modify. Overrides apimetrics config org set.
-u, --user-id=<value> ID of user
--add-role=<value>... Add a role to the account.
--remove-role=<value>... Name of role to remove.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Edit an account.
EXAMPLES
$ apimetrics org accounts edit --add-role ADMIN --remove-role DEV_TEAM
Remove Account
Remove an account from the Organization. User IDs can be found in the Accounts section of the Organization Settings.
USAGE
$ apimetrics org accounts remove -u <value> [--json] [-o <value>]
FLAGS
-o, --org-id=<value> ID of organization to modify. Overrides apimetrics config org set.
-u, --user-id=<value> (required) ID of user to remove.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Remove an account from the organization.
EXAMPLES
$ apimetrics org accounts remove --user-id "auth0|abcdefghijklmnopqrstuvwx"
Updated 9 days ago