PUT Pet Edit

PUT Pet Edit

PUT https://api.cakes.com/pet/:id/edit

This endpoint allows you to edit pet info for the user.

Path Parameters

Name
Type
Description

id

string

user's pet id

Headers

Name
Type
Description

Authorization

string

bearer token

Request Body

Name
Type
Description

sex

string

user's pet sex

name

string

user's pet name

type

string

user's pet type

image_url

string

url of user's pet image

born_year

number

user's pet born year

{    "message": "success put pet edit"}

Last updated