---
title: "Update a User"
method: PATCH
path: "/users/{userId}"
tags: ["User"]
---

# Update a User

`PATCH /users/{userId}`

Updates a given User.
Any parameters not provided are left unchanged.

## Path parameters

- `userId` string, uuid, required — The unique identifier for a resource.

## Request body

- UpdateUser
  - `role` 'admin' | 'member' — New role assigned to the User. It can be `member` or `admin`.
  - `active` boolean — If `true`, the User will be activated; if `false`, the User will be suspended.

## Response `200`

OK

- User — User that completed their invitation.
  - `id` string, uuid, required — Unique identifier of the User.
  - `email` string, email, required — Email of the User.
  - `locale` 'en' | 'fr' | 'de' | 'it' | 'nl' | 'es' | 'pl' | 'pt' | 'ro', required — Locale of the User.
  - `status` string, required — The status of the User. Upon receiving the webhook event, status will always be `completed`.
  - `is_active` boolean, required — Whether the User is active.
  - `role` 'member' | 'admin', required — User’s role.

## Other responses

- `400` — Bad request
- `401` — Access unauthorized
- `403` — Access forbidden
- `404` — Resource not found
- `405` — This method is not allowed
- `415` — UnsupportedMediaType
- `429` — Too Many Requests, please try again later.
- `500` — Internal Server Error

---

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