---
title: "Replace User"
method: PUT
path: "/management/v1/user/{user_id}"
tags: ["user"]
---

# Replace User

`PUT /management/v1/user/{user_id}`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/management/v1/user/{user_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/docs/management/v1/user/:user_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Replaces the current user details with the new details provided in the request.
If a field is not provided, it will be set to `None`.

## Path parameters

- `user_id` string, required

## Request body

- UpdateUserRequest
  - `email` string, nullable
  - `name` string, required
  - `user-type` 'human' | 'application', required: Type of a User

## Response `200`

User details updated successfully

## Other responses

- `4XX`

---

[API](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api.md) - [All operations](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/revisions/c5cb9a12a98c?raw)
