upctl account create
Create a sub-account
Examples
upctl account create --username newuser --password superSecret123
upctl account create --username newuser --password superSecret123 \
--first-name John --last-name Doe \
--allow-gui \
--ip-filter 1.2.3.4 \
--permission server:00000000-0000-0000-0000-000000000001
Options
| Option | Description |
|---|---|
--username |
Sub-account username. |
--password |
Sub-account password. Minimum 12 characters with 1 lowercase, 1 uppercase, and 1 number. |
--first-name |
Sub-account first name. |
--last-name |
Sub-account last name. |
--phone |
Phone number in international format (e.g. +358.91234567). Defaults to the main account value. |
--email |
Email address. Defaults to the main account value. |
--timezone |
Timezone. Defaults to the main account value. |
--currency |
EUR/GBP/USD/SGD are the only accepted values. Defaults to the main account value. |
--allow-api |
Allow API access for the sub-account. Default: true |
--allow-gui |
Allow GUI (control panel) access for the sub-account. Default: false |
--ip-filter |
Restrict API/GUI access to this IP address. Can be specified multiple times. Example: --ip-filter 1.2.3.4 --ip-filter 5.6.7.8 Default: [] |
--permission |
Grant a permission to the sub-account in 'target_type:target_identifier' format. Can be specified multiple times. Example: --permission server:00000000-0000-0000-0000-000000000001 Default: [] |
--help, -h |
help for create Default: false |
Global options
| Option | Description |
|---|---|
--client-timeout, -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output, -o |
Output format. Valid values are human, json and yaml.Default: human |
Related commands
| Command | Description |
|---|---|
| upctl account | Manage accounts |