---
title: "Update User"
method: PUT
path: "/account-service/api/users/{id}"
tags: ["User"]
---

# Update User

`PUT /account-service/api/users/{id}`

## Path parameters

- `id` integer, required

## Request body

- UpdateUserModel
  - `status` 0 | 1, nullable — User status 0 or 1
  - `firstName` string, required — First Name of the user
  - `lastName` string, nullable — Last Name of the user
  - `email` string, nullable — Email id of the user
  - `password` string — User Password
  - `roles` string[], required — Invalid user role
  - `groups` string[] — List of group names

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/privacera/apis/paig-server.md) · [All operations](https://skmtc.net/privacera/apis/paig-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privacera/paig-server/versions/e3d2c30ceace/schema)
