Subcommands

UserCreate

Create a User under a particular contract

Usage

ionosctl user create [flags]

Aliases

For user command:

[u]

For create command:

[c]

Description

Use this command to create a User under a particular contract. You need to specify the firstname, lastname, email and password for the new User.

Note: The password set here cannot be updated through the API currently. It is recommended that a new User log into the DCD and change their password.

Required values to run a command:

  • First Name

  • Last Name

  • Email

  • Password

Options

--admin Assigns the User to have administrative rights
-u, --api-url string Override default host url (default "https://api.ionos.com")
--cols strings Set of columns to be printed on output
Available columns: [UserId Firstname Lastname Email S3CanonicalUserId Administrator ForceSecAuth SecAuthActive Active] (default [UserId,Firstname,Lastname,Email,S3CanonicalUserId,Administrator,ForceSecAuth,SecAuthActive,Active])
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
-e, --email string The email for the User (required)
--first-name string The first name for the User (required)
-f, --force Force command to execute without user input
--force-secure-auth Indicates if secure (two-factor) authentication should be forced for the User
-h, --help Print usage
--last-name string The last name for the User (required)
-o, --output string Desired output format [text|json] (default "text")
-p, --password string The password for the User (must be at least 5 characters long) (required)
-q, --quiet Quiet output
-v, --verbose Print step-by-step process when running command

Examples

ionosctl user create --first-name NAME --last-name NAME --email EMAIL --password PASSWORD