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

# Updates a user

`PATCH /api/users/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateUserRequestDto
  - `rewardsEthAddress` string, required
  - `username` string, required

## Response `200`

Updated user

- UpdateUserRequestDto
  - `rewardsEthAddress` string, required
  - `username` string, required

## Changes

- **2023-03-31** `af4ea0086c6f` — 6 breaking, 4 warning
  - removed the required property `_id` from the response with the `200` status
  - removed the required property `accounts` from the response with the `200` status
  - removed the required property `createdAt` from the response with the `200` status
  - removed the required property `identityEthAddress` from the response with the `200` status
  - …6 more
- **2002-04-24** `85037159b344` — 1 breaking
  - the response property `accounts/items/avatarId` became optional for the status `200`

[Change history](https://skmtc.dev/givepraise/apis/praise-api/changes/api/users/:id/patch.md)

---

[API](https://skmtc.dev/givepraise/apis/praise-api.md) · [All operations](https://skmtc.dev/givepraise/apis/praise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/givepraise/praise-api/revisions/af4ea0086c6f/schema)
