create
create accounts
🗃️ Create a new account.
The account is created through checkout: this command returns a payment URL. Open it to add a card and finish setting up billing for the account.
This command supports reading input from a file.
Files can be supplied via the --file flag or piped into the command.
Example of file structure
{
"basic_details": {
"account_name": "My Account",
"country_code": "US"
},
"plan_id": "00000000-0000-0000-0000-000000000000",
"spherelets": [
{
"code": "FLX",
"qty": 1
}
],
"spherestor": 0
}
Usage
csph accounts create [flags]
Aliases
accounts create, accounts new, account create, account new
Options
Command Specific
Inherited
Examples
# start an interactive session to create an account
> csph account create
# create an account with a name and country — account names use lowercase
# letters, numbers, and single hyphens only
> csph account create --name my-account --country "US"
# create an account from a file
> csph account create --file /path/to/account.yaml
# create an account via stdin
> cat /path/to/account.json | csph account create
See also
- csph accounts — manage accounts
- csph accounts get — get accounts
- csph accounts list — list accounts
- csph accounts use — set your default account