Updates a pet in the store with form data

Securitypetstore_auth
Request
path Parameters
petId
required
integer <int64>

ID of pet that needs to be updated

Request Body schema: application/x-www-form-urlencoded
name
string

Updated name of the pet

status
string

Updated status of the pet

Responses
200

OK

405

Invalid input

post/pet/{petId}
Request samples
curl -i -X POST \
  'https://petstore.swagger.io/v2/pet/{petId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d name=string \
  -d status=string