Upload profile avatar
/v1/auth/me/avatarRequest body
multipart/form-data
filestring · binary Optional Responses
application/json
data *AuthProfileDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X POST "https://auth.canopy-io.com/v1/auth/me/avatar" \ -H "Content-Type: application/json" \ -d '{ "file": "<binary>" }'
{ "data": { "id": "string", "email": "string", "first_name": "string", "last_name": "string", "avatar_url": "string", "pending_email": "string", "email_verified": false, "created_at": "2026-04-20T12:00:00.000Z", "account_role": "owner" } }
Tell us how we can improve this guide.