Skip to main content
PATCH
Change a pet

Authorizations

__Secure-better-auth.session_token
string
cookie
required

The session cookie set when you sign in to the web app.

Path Parameters

petId
string
required
Maximum string length: 64

Body

application/json
supersedes
string
required
Maximum string length: 64
operationId
string<uuid>
required
at
string<date-time>
required
name
string
Maximum string length: 240
species
enum<string>
Available options:
dog,
cat,
other
routine
string | null
Maximum string length: 2000

Response

The pet was changed.

id
string
required

A member of the house: it can be an activity's subject.

factId
string
required

The pet's current fact: the next change's supersedes, and what an undo names.

name
string
required
species
enum<string>
required

dog (Cachorro), cat (Gato) or other (Outro).

Available options:
dog,
cat,
other
routine
string | null
required
source
enum<string>
required
Available options:
settings
confidence
string
required
appliedAt
string<date-time>
required