---
title: "Update user"
method: PUT
path: "/users/{id}"
tags: ["User Management"]
---

# Update user

`PUT /users/{id}`

Update the information of an existing user.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string
  - `email` string

## Response `200`

User Updated

- User — pAI-OS users
  - `id` string, uuid, required — Unique identifier for the given user.
  - `name` string, required
  - `email` string, email, required

## Other responses

- `404` — User Not Found
- `409` — Email Already Taken

## Changes

- **2024-06-04** `578e8efc5755` — 11 info
  - the endpoint scheme security `jwt` was removed from the API
  - removed the pattern `^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$` from the `path` request parameter `id`
  - the request property `email` became optional
  - the request property `name` became optional
  - …7 more

[Change history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/users/:id/put.md)

---

[API](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pai-os/personal-artificial-intelligence-operating-system-pai-os-api/revisions/bca239c26cbb/schema)
