Skip to main content

Updated user

This can only be done by the logged in user.

Path Parameters

username

string

REQUIRED

name that need to be deleted

Request Body

REQUIRED

Updated 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

400

Invalid user supplied

404

User not found