Skip to main content

Create user

This can only be done by the logged in user.

Request Body REQUIRED

Created user object

id int64
pet
username string

Possible values: 4 ≤ length

User supplied username

firstName string

Possible values: 1 ≤ length

User first name

lastName string

Possible values: 1 ≤ length

User last name

email email

User email address

password password

Possible values: 8 ≤ length, Value must match regular expression /(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/

User password, MUST contain a mix of upper and lower case letters, as well as digits

phone string

Possible values: Value must match regular expression /^\+(?:[0-9]-?){6,14}[0-9]$/

User phone number in international format

userStatus int32

User status

Responses
default

successful operation