---
title: "Update a client"
method: PATCH
path: "/clients/{client_id}"
---

# Update a client

`PATCH /clients/{client_id}`

## Path parameters

- `client_id` integer, required

## Headers

- `ngrok-skip-browser-warning` string, required

## Request body

- ClientUpdate
  - `fname` string
  - `lname` string
  - `email` string, email
  - `phone_number` string, nullable
  - `work_phone_number` string, nullable
  - `work_phone_extension` string, nullable
  - `time_zone` string, nullable
  - `preferred_contact_method` string, nullable
  - `assigned_advisor_id` integer, nullable

## Response `200`

Updated client

- Client
  - `id` integer, required
  - `email` string, email, required
  - `fname` string, required
  - `lname` string, required
  - `full_name` string, nullable
  - `time_zone` string, nullable
  - `phone_number` string, nullable
  - `preferred_name` string, nullable
  - `created_at` string, date-time, required
  - `active` boolean, required — Derived from User#paying
  - `assigned_advisor_id` integer, required
  - `work_phone_number` string, nullable
  - `work_phone_extension` string, nullable
  - `work_email` string, email, nullable
  - `external_user_id` string, nullable
  - `assigned_advisor` string, nullable — Assigned advisor full name (string), not an object

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found

---

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