Update an existing pet
PUT
https://petstore.swagger.io/v2/pet
Request
Header Parameters
Accept-Language string
Default value: en-AU
The language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US
Example: en-US
Cookie Parameters
cookieParam int64required
Some cookie
- application/json
- application/xml
Responses
- 400
- 404
- 405
Invalid ID supplied
Pet not found
Validation exception
Authorization: oauth2
name: petstore_authtype: oauth2scopes:write:pets,read:pets
description: Get access to data while protecting your account credentials. OAuth2 is also a safer and more secure way to give you access.flows: { "implicit": { "authorizationUrl": "http://petstore.swagger.io/api/oauth/dialog", "scopes": { "write:pets": "modify pets in your account", "read:pets": "read your pets" } } }
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
1
RESPONSEClear