Updated user
PUT/user/:username
This can only be done by the logged in user.
Request
Path Parameters
name that need to be deleted
- application/json
Body
required
Updated user object
- pet
- tag
- Array [
- ]
- cat
- dog
- bee
pet object
category Category
Possible values: non-empty
Category name
sub object
Test Sub Category
Dumb Property
The name given to a pet
Possible values: <= 20
The list of URL to a cute photos featuring pet
tags Tag[]
Possible values: >= 1
Tags attached to the pet
Possible values: non-empty
Tag name
Possible values: [available
, pending
, sold
]
Pet status in the store
Possible values: [cat
, dog
, bee
]
Type of a pet
Possible values: [clueless
, lazy
, adventurous
, aggressive
]
Default value: lazy
The measured skill for hunting
Possible values: >= 1
Default value: 1
The size of the pack the dog is from
Average amount of honey produced per day in ounces
Possible values: non-empty
Tag name
Possible values: >= 4 characters
User supplied username
Possible values: non-empty
User first name
Possible values: non-empty
User last name
User email address
Possible values: >= 8 characters
, 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
Possible values: Value must match regular expression /^\+(?:[0-9]-?){6,14}[0-9]$/
User phone number in international format
User status
Responses
- 400
- 404
Invalid user supplied
User not found