curl --request POST \
--url https://{host}/frontend/api/v1/user/{user-id}/avatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"avatar": "<string>",
"crop": {
"flip": "horizontal",
"left": 123,
"rotate": 0,
"size": 97,
"top": 123
}
}
'