Updated user
1 min
PUT
//petstore.swagger.io/v2/user/{username}
usernamestringname that need to be deleted
bodyobjectUpdated user object
400Invalid user supplied
404User not found
curl --request PUT \
--url //petstore.swagger.io/v2/user/{username} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"pet": {
"name": "Guru",
"photoUrls": "",
"status": "pending"
}
}'This can only be done by the logged in user.
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.