Upload or replace your profile picture
Accept a profile picture upload (PNG/JPEG/WebP, max 5 MB).
- Deletes any previous avatar from storage before writing the new one.
- Returns the full UserRead response with ``has_avatar=True``.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a multipart form containing a file.
file
Response
Successful Response
id
email
has_avatar
is_active
is_superuser
is_verified
tenant_id
is_2fa_enabled
last_login_at
first_name
last_name
phone
job_title
timezone
language
onboarding_completed
modules
tenant_slug
tenant_name
memberships
platform_role
is_owner
effective_permissions
is_impersonated
original_actor_id
avatar_key
Errors
422
Unprocessable Entity Error