<id>-ext-<timestamp>.jpg.avatar, and an ID that does not exist, are reported with HTTP 200 and a message body. The image is uploaded to storage before the user is looked up.kiolink-externaluser-updateavatar permission.authorization: ********************{
"avatar": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
}curl --location --request PATCH 'https://qa-api.kiolinkapp.com/v1/kiolink/external-user/65f1c2a9e4b0a1b2c3d4e5f1/avatar' \
--header 'authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"avatar": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
}'avatar or unknown user is also reported with this status, with a message body.{
"_id": "65f1c2a9e4b0a1b2c3d4e5f1",
"email": "carlos.ruiz@proveedor.com",
"name": "Carlos Ruiz",
"cel": "5512345678",
"company": "Proveedor SA de CV",
"avatar": "65f1c2a9e4b0a1b2c3d4e5f1-ext-1759700000.jpg",
"devices": [
{
"_id": "65f1c2a9e4b0a1b2c3d4e603",
"brand": "Dell",
"model": "Latitude 7440",
"series": "CN0ABC123"
}
],
"created_at": "2025-04-02T17:30:00.000Z",
"verify_email": "deliverable",
"__v": 0
}