curl --request POST \
--url https://{host}/frontend/api/v1/user/{user-id}/avatar \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"avatar": "https://your-bucket.s3.amazonaws.com/avatar.png",
"crop": {
"flip": "horizontal",
"left": 30,
"rotate": 0,
"size": 100,
"top": 40
}
}'