---
title: "Update user profile"
method: PATCH
path: "/api/users/{userId}/profile"
tags: ["Users"]
---

# Update user profile

`PATCH /api/users/{userId}/profile`

Update profile for the given user ID. This method performs a partial update of the profile object.

## Path parameters

- `userId` string, required

## Request body

- object
  - `profile` object, required — Partial profile object to update for the given user ID.
    - `familyName` string
    - `givenName` string
    - `middleName` string
    - `nickname` string
    - `preferredUsername` string
    - `profile` string
    - `website` string
    - `gender` string
    - `birthdate` string
    - `zoneinfo` string
    - `locale` string
    - `address` object
      - `formatted` string
      - `streetAddress` string
      - `locality` string
      - `region` string
      - `postalCode` string
      - `country` string

## Response `200`

Updated profile in JSON for the given user ID.

- object
  - `familyName` string
  - `givenName` string
  - `middleName` string
  - `nickname` string
  - `preferredUsername` string
  - `profile` string
  - `website` string
  - `gender` string
  - `birthdate` string
  - `zoneinfo` string
  - `locale` string
  - `address` object
    - `formatted` string
    - `streetAddress` string
    - `locality` string
    - `region` string
    - `postalCode` string
    - `country` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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