Skip to main content
PUT
Update a cat by id.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

id of the cat.

Body

application/json
name
string | null
breed
string | null
image
string | null
personality
enum<string> | null
Available options:
Playful,
Calm,
Bold,
Affectionate,
Energetic,
Gentle,
Curious,
Confident,
Friendly,
Mysterious

Response

Operation successful

message
string
data
object