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.
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")
-D, --depth int32 Controls the detail depth of the response objects. Max depth is 10.
-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)
--no-headers Don't print table headers when table output is used
-o, --output string Desired output format [text|json|api-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