Create a User under a particular contract


ionosctl user create [flags]


For user command:


For create command:



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


--admin Assigns the User to have administrative rights
-u, --api-url string Override default host url (default "")
--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


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