Skip to content

Bluescape/bluescape-cli-archived-2022

Repository files navigation

Install

npm

you can install bluescape cli via npm.

$ npm install bluescape/bluescape-cli-archived-2022#latest -g

Basic Usage

Setup

Configure a instance

$ bluescape config set instance

Login

$ bluescape login

Session

Get current session user & instance

$ bluescape whoami

User Management

User Get

# Get user by Id.
$ bluescape user get <userId|email> 
$ bluescape user get <userId|email>  --attributes=id,email,metadata

User Delete

  • [--from-csv]: CSV File Path Format sample file

  • [--new-owner-id]: If deleted user own workspace, we will re-asssign this user as owner.

  • [--force]: force flag will be delete user permanetly from database.

#Delete user by email Id and CSV file
$ bluescape user delete --from-csv=./sample/user_delete.csv --new-owner-id=zANz6n3RKfNXO01a36EY --force

# Add custom link to the users in the CSV file user by email Id and CSV file
$ bluescape customlink add --from-csv=./sample/customlink.csv --blocked-domains=./sample/blocked-domains.csv

Siloed User Provisioning

# Enable autoAssociateIdentityProviderUser for an organization and add an account to an organization
# Both organizationId and accountId are optional. So we can execute both (valid Ids) or at least one argument is required.
$ bluescape siloeduserprovision set --organizationId="ORGANIZATION_UID" --accountId="ACCOUNT_UID"

Uninstall

npm

you can uninstall bluescape cli via npm.

$ npm uninstall  @bluescape/cli -g

Provisioning license quantity of a legacy enterprise

# Link an external legacy enterprise subscription to the organization
$ bluescape provisionlicense link-external-legacy-subscription

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published