Skip to content
Skip to Content
Coder Docs

coder users create

Create a new user.

On this page

Create a new user.

Usage

Usage
coder users create [flags]

Options

Options

-e, --email

-e, --email
PropertyValue
Typestring

Specifies an email address for the new user.

-u, --username

-u, --username
PropertyValue
Typestring

Specifies a username for the new user.

-n, --full-name

-n, --full-name
PropertyValue
Typestring

Specifies an optional human-readable name for the new user.

-p, --password

-p, --password
PropertyValue
Typestring

Specifies a password for the new user.

--login-type

--login-type
PropertyValue
Typestring

Optionally specify the login type for the user. Valid values are: password, none, github, oidc. Using 'none' prevents the user from authenticating and requires an API key/token to be generated by an admin. Deprecated: 'none' is deprecated. Use service accounts (requires Premium) for machine-to-machine access, or password/github/oidc login types for regular user accounts.

--service-account

--service-account
PropertyValue
Typebool

Create a user account intended to be used by a service or as an intermediary rather than by a human.

-O, --org

-O, --org
PropertyValue
Typestring
Environment$CODER_ORGANIZATION

Select which organization (uuid or name) to use.