PATCH
Update my profile

Overview

Updates the authenticated user’s profile. Every field is optional — send only what changed (at least one field is required). Returns the full updated profile (same shape as GET /users/me). Email is not editable here. Changing the email would require a re-verification flow; it is omitted deliberately.

Setting the profile photo

The avatar uses the standard upload pipeline:
  1. POST /uploads/presign with fileType: "AVATAR".
  2. PUT the image bytes to the returned URL with the returned headers.
  3. POST /uploads/confirm → returns an uploadId.
  4. PATCH /users/me with { "avatarUploadId": "<that id>" }. The server resolves it to the public CDN url and stores it as avatarUrl.

Authentication

Bearer <accessToken> required. Scope: user.

Request body

Response — 200 OK

The full updated profile — see GET /users/me for the field table.

Error responses

Side effects

  • Writes the provided non-PII fields (firstName, lastName, bio, avatarUrl).
  • dateOfBirth, when provided, is written through the encrypted-at-rest PII path.

See also

curl