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

# Update user custom data

`PATCH /api/users/{userId}/custom-data`

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

## Path parameters

- `userId` string, required

## Request body

- object
  - `customData` object, required — Partial custom data object to update for the given user ID.

## Response `200`

Updated custom data in JSON for the given user ID.

- object — arbitrary

## 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)
