---
title: "Edit current user"
method: PUT
path: "/user/{userId}"
tags: ["User"]
---

# Edit current user

`PUT /user/{userId}`

__Activity name:__ PutUserByToken<br>    <br><br>Edit some of the properties of the current user. Metadata can be acquired by adding /metadata to the path.<br>

## Path parameters

- `userId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket/apis/loket-api.md) · [All operations](https://skmtc.net/loket/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket/loket-api/versions/32d1693f8db8/schema)
