cURL
curl --request POST \ --url https://{host}/frontend/api/v1/user/current/avatar \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "avatar": "<string>", "crop": { "flip": "horizontal", "left": 123, "rotate": 0, "size": 97, "top": 123 } } '
{ "avatar": { "created": "2023-11-07T05:31:56Z", "enabled": true, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "provider": "probe-dev", "url": "<string>" } }
Documentation IndexFetch the complete documentation index at: https://docs.probe.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.probe.dev/llms.txt
Use this file to discover all available pages before exploring further.
API Key Security (Header).
Avatar URL. Supported formats:jpeg, png, webp, gif, svg. Max file size: 10.0 MB. Min image size 96x96
"https://your-bucket.s3.amazonaws.com/avatar.png"
Crop parameters
Show child attributes
OK
Was this page helpful?