---
title: "Update an existing pet"
method: PUT
path: "/getuser"
tags: ["users"]
---

# Update an existing pet

`PUT /getuser`

Update an existing pet by Id

## Request body

- Pet
  - `id` integer
  - `name` string, required
  - `category` Category
    - `id` integer
    - `name` string
  - `photoUrls` string[], required
  - `tags` Tag[]
    - `id` integer
    - `name` string
  - `status` 'available' | 'pending' | 'sold' — pet status in the store

## Response `200`

Successful operation

- Pet
  - `id` integer
  - `name` string, required
  - `category` Category
    - `id` integer
    - `name` string
  - `photoUrls` string[], required
  - `tags` Tag[]
    - `id` integer
    - `name` string
  - `status` 'available' | 'pending' | 'sold' — pet status in the store

## Other responses

- `400` — Invalid ID supplied
- `404` — Pet not found
- `405` — Validation exception

---

[API](https://skmtc.net/opensignlabs/apis/opensign-api-v1.md) · [All operations](https://skmtc.net/opensignlabs/apis/opensign-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opensignlabs/opensign-api-v1/versions/fc166e76710f/schema)
