Upload current user avatar
Upload a new avatar image for the authenticated user. Replaces any existing avatar. Accepts JPEG, PNG, WebP, or GIF up to 5MB.
Upload a new avatar image for the authenticated user. Replaces any existing avatar. Accepts JPEG, PNG, WebP, or GIF up to 5MB.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Response Body
application/json
curl -X POST "https://example.com/user/avatar"{ "image": "string"}Empty
Empty
Empty