---
title: "Update user (legacy)"
method: PUT
path: "/api/users/{id}"
tags: ["Legacy"]
---

# Update user (legacy)

`PUT /api/users/{id}`

Updates a demo user. Returns the request payload plus updatedAt field.

## Path parameters

- `id` integer, required

## Request body

- LegacyMutationRequest

## Response `200`

User updated

- LegacyMutationResponse
  - `id` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Error response

---

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