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

# Update a user

`PATCH /v1/users/{id}`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/users/{id}`
- Auth: API key in header `X-User-Token`

## Path parameters

- `id` string, required

## Request body

- object
  - `user` object
    - `first_name` string
    - `last_name` string
    - `avatar_s3_path` string

## Response `200`

User updated successfully

- object
  - `id` string
  - `first_name` string
  - `last_name` string
  - `avatar_s3_path` string

## Other responses

- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
