---
title: "Changes to PATCH /v1/users/{userId}"
method: PATCH
path: "/v1/users/{userId}"
---

# Changes to PATCH /v1/users/{userId}

`PATCH /v1/users/{userId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 7 of 72 revisions.

- **2024-11-07** `bf0b42ebdc02`: 1 warning, 1 info
- **2023-12-28** `3cf60c4d5e18`: 1 info
- **2023-02-17** `e1476325d401`: 2 breaking, 2 warning
- **2023-02-01** `dfac92a7291a`: 1 info
- **2022-12-23** `088459469026`: 1 info
- **2022-12-19** `7ad81b8b3268`: 1 breaking
- **2022-12-19** `6e3418bf00fa`: 1 info

## Changes

- **2024-11-07** `bf0b42ebdc02`: 1 warning, 1 info
  - removed the optional property `userId` from the response with the `200` status
  - added the required property `id` to the response with the `200` status
- **2023-12-28** `3cf60c4d5e18`: 1 info
  - added the new optional request property `email`
- **2023-02-17** `e1476325d401`: 2 breaking, 2 warning
  - the request property `accountEnabled` became not nullable
  - the request property `role` became not nullable
  - deleted the `query` request parameter `code`
  - deleted the `query` request parameter `id`
- **2023-02-01** `dfac92a7291a`: 1 info
  - added the new optional request property `role`
- **2022-12-23** `088459469026`: 1 info
  - endpoint added
- **2022-12-19** `7ad81b8b3268`: 1 breaking
  - api path removed without deprecation
- **2022-12-19** `6e3418bf00fa`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/nhs-england/apis/admin-api-nhs-innovation-service/docs/v1/users/:userId/patch.md) - [API](https://skmtc.dev/nhs-england/apis/admin-api-nhs-innovation-service.md) - [Page](https://skmtc.dev/nhs-england/apis/admin-api-nhs-innovation-service/changes/v1/users/:userId/patch)
