---
title: "Updates the logged-in User"
method: PATCH
path: "/user/"
tags: ["user"]
---

# Updates the logged-in User

`PATCH /user/`

## Request body

- UserUpdate
  - `email` string, nullable — E-Mail of the User
  - `first_name` string, nullable — First name of the User
  - `last_name` string, nullable — Last name of the User
  - `password` string, nullable — Hashed password of the User

## Response `200`

Successful Response

- UserRead
  - `email` string, email, required — E-Mail of the User
  - `first_name` string, required — First name of the User
  - `last_name` string, required — Last name of the User
  - `id` integer, required — ID of the User
  - `created` string, date-time, required — Created timestamp of the User
  - `updated` string, date-time, required — Updated timestamp of the User

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/revisions/6b22366ce2d1/schema)
