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

# Update user

`PUT /users/{id}`

## Path parameters

- `id` integer, required

## Request body

- User
  - `id` integer
  - `name` string, required
  - `email` string, required
  - `credential` Credential
    - `username` string
    - `password` string

## Response `200`

User updated

## Other responses

- `400` — Invalid user input
- `404` — User not found

---

[API](https://skmtc.dev/packtpublishing/apis/users-api.md) · [All operations](https://skmtc.dev/packtpublishing/apis/users-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/packtpublishing/users-api/revisions/9b9ab746852c/schema)
