updateAvatar
WRITEThe signed-in person's own photo: a path in the "avatars" bucket, or null to remove it.
POST /api/v1/account/updateAvatar
curl -X POST '<your-host>/api/v1/account/updateAvatar' \
-H 'Authorization: Bearer <api-key>' \
-H 'Content-Type: application/json' \
-d '{
"avatarUrl": "string"
}'Parameters
ParameterType
Input schema
schema
{
"type": "object",
"properties": {
"avatarUrl": {
"type": [
"string",
"null"
]
}
},
"required": [
"avatarUrl"
]
}