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

---

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