Update an existing pet

Update an existing pet

Body Parameters
  • body
    object
    required
Responses
  • 400

    Invalid ID supplied

  • 404

    Pet not found

  • 405

    Validation exception

PUT/pet
curl https://petstore.swagger.io/v2/pet \
  --request PUT \
  --header 'Content-Type: text/plain;charset=UTF-8' \
  --data "{
  "id": 1,
  "category": {
    "id": 1,
    "name": ""
  },
  "name": "doggie",
  "photoUrls": [
    ""
  ],
  "tags": [
    {
      "id": 1,
      "name": ""
    }
  ],
  "status": "available"
}"
No Body