---
title: "Update a user"
method: PATCH
path: "/v1/users/{user_id}/"
tags: ["Users"]
---

# Update a user

`PATCH /v1/users/{user_id}/`

The endpoint updates a user.

## Request body

- ApplicantRequestUpdate
  - `external_user_id` string — External user id.
  - `email` string, email — User's email.
  - `phone` string — User's phone number.

## Response `200`

- Applicant
  - `id` string, required — Unique identifier of the user.
  - `external_user_id` string, nullable, required — External user id.
  - `first_name` string, nullable — First name of the user.
  - `last_name` string, nullable — Last name of the user.
  - `email` string, email, nullable — User's email.
  - `phone` string, nullable — User's phone number in E.164 format (`+` followed by the country code and number).
  - `ssn` string, nullable — User's SSN, masked. Only the last 4 digits are visible — the leading digits are replaced with `*` (for example `*****3333`). When only the last 4 digits are on file, the value is fully masked (`****`).
  - `created_at` string, date-time, required — Timestamp when the user was created.
  - `updated_at` string, date-time, required — Timestamp when the user was updated last time.

## Other responses

- `400` — HTTP 400 Bad Request
- `401` — HTTP 401 Unauthorized
- `403` — HTTP 403 Forbidden

## Changes

- **2026-07-27** `f7c013875516` — 1 warning
  - the `external_user_id` request property's maxLength was set to `512`
- **2026-07-26** `e58688835e25` — 3 breaking, 1 info
  - the response property `first_name` became nullable for the status `200`
  - the response property `last_name` became nullable for the status `200`
  - the response property `ssn` became nullable for the status `200`
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/truv/apis/truv-api/changes/v1/users/:user_id/patch.md)

---

[API](https://skmtc.dev/truv/apis/truv-api.md) · [All operations](https://skmtc.dev/truv/apis/truv-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/truv/truv-api/revisions/d7195c30b6b1/schema)
