---
title: "Update the current user's profile"
method: PATCH
path: "/users/me"
tags: ["Users"]
---

# Update the current user's profile

`PATCH /users/me`

## Request body

- object — Input for updating the current user's profile
  - `firstName` string
  - `lastName` string
  - `imageUrl` string, uri, nullable
  - `metadata` object
  - `refreshToken` string — Current refresh token. When provided, new tokens with updated user data will be returned.

## Response `200`

OK

- object — Response payload for PATCH /users/me containing the updated user profile.
  - `user` object, required — The updated user profile
    - `id` string, required — Unique identifier for the user
    - `createdAt` string, date-time, required — ISO 8601 timestamp when the user account was created
    - `updatedAt` string, date-time, required — ISO 8601 timestamp when the user account was last updated
    - `email` string, email, required — User's email address, used for authentication and communication
    - `firstName` string, required — User's first name
    - `lastName` string, required — User's last name
    - `imageUrl` string, uri — Optional URL to the user's profile image or avatar
    - `metadata` object — Arbitrary key-value metadata for storing user preferences and settings
  - `tokens` object — New JWT tokens with updated user data. Present when refresh token was provided in request.
    - `access` string, required — JWT access token with updated user data
    - `refresh` string, required — Refresh token for obtaining new access tokens

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `409` — 409
- `412` — 412
- `422` — 422
- `429` — 429
- `500` — 500
- `501` — 501
- `503` — 503

---

[API](https://skmtc.net/session/apis/session-services-api.md) · [All operations](https://skmtc.net/session/apis/session-services-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/session/session-services-api/versions/a1bb6f6c8a2e/schema)
