---
title: "Update user details"
method: PUT
path: "/api/v1/users/{id}"
tags: ["Users"]
---

# Update user details

`PUT /api/v1/users/{id}`

Update the details of an existing user identified by their unique ID.

## Path parameters

- `id` integer, required

## Request body

- DtoUpdateUserRequest
  - `email` string
  - `username` string

## Response `200`

OK

## Other responses

- `400` — failed to validate request
- `401` — unauthorized
- `404` — user not found
- `413` — payload too large
- `500` — failed to update user

## Changes

> 2 revisions in range; 1 could not be searched.

- **2026-02-07** `8881928f860b` — 2 info
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `413`

[Change history](https://skmtc.dev/datazip-inc/apis/olake-ui-api/changes/api/v1/users/:id/put.md)

---

[API](https://skmtc.dev/datazip-inc/apis/olake-ui-api.md) · [All operations](https://skmtc.dev/datazip-inc/apis/olake-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datazip-inc/olake-ui-api/revisions/f1bcf21b1556/schema)
