---
title: "Patch User"
method: PATCH
path: "/admin/users/{user_id}"
---

# Patch User

`PATCH /admin/users/{user_id}`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/admin/users/{user_id}`
- Auth: none declared

## Path parameters

- `user_id` integer, required

## Headers

- `authorization` string, nullable

## Request body

- UpdateUserIn
  - `name` string, nullable
  - `email` string, nullable
  - `contact_number` string, nullable
  - `status` union
    - string
    - integer
  - `verified` boolean, nullable
  - `role` string, nullable
  - `password` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
