/user/{username}This can only be done by the logged in user.
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| username | path | string | required | name that need to be updated |
Updated user object
User Status
curl -X PUT "https://petstore.swagger.io/v2/user/{username}" \
-H "Content-Type: application/json" \
-d '{
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
}'