Try it

Updated user

This can only be done by the logged in user.

path Parameters
username
required
string

name that need to be updated

Request Body schema: application/json

Updated user object

id
integer <int64>
username
string
firstName
string
lastName
string
email
string
password
string
phone
string
userStatus
integer <int32>

User Status

Responses

400

Invalid user supplied

404

User not found

put/user/{username}
http://petstore.swagger.io/v2/user/{username}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": 0,
  • "username": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "email": "string",
  • "password": "string",
  • "phone": "string",
  • "userStatus": 0
}