updatePersonAvatar
WRITEAnother person's photo, under the same rule as `updatePersonProfile`: a path that is exactly `<person id>.png` or `.jpg`, or null to remove it.
POST /api/v1/account/updatePersonAvatar
curl -X POST '<your-host>/api/v1/account/updatePersonAvatar' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"personId": "string",
"avatarUrl": "string"
}'Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"personId": {
"type": "string"
},
"avatarUrl": {
"type": [
"string",
"null"
]
}
},
"required": [
"personId",
"avatarUrl"
]
}