For AI agents: the complete documentation index is available at https://ciderpress.dev/llms.txt, the full documentation bundle is available at https://ciderpress.dev/llms-full.txt, and this page is available as Markdown at https://ciderpress.dev/petstore/update-pet-with-form.md.
Get started →

Updates a pet in the store with form data

post/pet/{petId}
updatePetWithForm
Updates a pet in the store with form data
Parameters
path
NameTypeRequiredDescriptionDefault
petIdintegerrequiredID of pet that needs to be updated
formData
NameTypeRequiredDescriptionDefault
namestringUpdated name of the pet
statusstringUpdated status of the pet
Responses
Authentication
petstore_auth (write:pets, read:pets)
Code Examples
curl -X POST 'https://api.example.com/pet/{petId}' \
  -H 'Content-Type: application/json'