Skip to main content
PATCH
/
v1
/
console
/
case-study-avatars
/
{avatar_id}
Update Case Study Avatar
curl --request PATCH \
  --url http://localhost:8000/v1/console/case-study-avatars/{avatar_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bio": "<string>",
  "image_url": "<string>",
  "is_active": true,
  "name": "<string>",
  "role": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{
  "data": {
    "created_at": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "is_active": true,
    "name": "<string>",
    "bio": "<string>",
    "image_url": "<string>",
    "role": "<string>",
    "tags": [
      "<string>"
    ],
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

avatar_id
string
required

Body

application/json
bio
string | null
Maximum string length: 2000
image_url
string | null
Maximum string length: 1000
is_active
boolean | null
name
string | null
Required string length: 1 - 255
role
string | null
Maximum string length: 255
tags
string[] | null
Maximum array length: 20

Response

Successful Response

data
CaseStudyAvatarResponse · object
message
string | null
success
boolean
default:true