Update an existing pet
1 min
PUT
https://petstore.swagger.io/v2/pet
bodyobject
400Invalid ID supplied
404Pet not found
405Validation exception
curl --request PUT \
--url https://petstore.swagger.io/v2/pet \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"name": "doggie",
"photoUrls": []
}'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.