Updated user
PUT
{{baseUrl}}/user/:username
This can only be done by the logged in user.
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Content-Type
|
string |
|
|
RESPONSES
status
curl -X PUT 'https://petstore.swagger.io/v2/user/:username' -H 'Content-Type: application/json' -d '{"id":-50303036,"username":"8888","firstName":"elit officia ea","lastName":"non occaecat consequat cupidatat","email":"consequat do Duis","password":"et non commodo","phone":"id enim laborum dolor","userStatus":16951072}'