---
title: "Update User"
method: PATCH
path: "/api/users/{user_id}"
---

# Update User

`PATCH /api/users/{user_id}`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/users/{user_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

## Path parameters

- `user_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- UpdateUserRequest
  - `name` string, nullable
  - `job_title` string, nullable
  - `phone_number` string, nullable
  - `primary_use_case` string, nullable
  - `additional_info` object, nullable

## Response `200`

Successful Response

- BackendDashboardServerRoutesUsersUserResponse
  - `id` string, required
  - `email` string, required
  - `org_id` string, required
  - `name` string, nullable
  - `role` string, nullable
  - `additional_info` object, nullable
  - `is_superuser` boolean
  - `invitation_delivery` string, nullable
  - `sign_in_url` string, nullable
  - `hosted_invitation_expires_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
