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

# Changes to POST /v1/users/{userId}/roles

`POST /v1/users/{userId}/roles`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 50 revisions.

- **2024-11-07** `bf0b42ebdc02` — 1 info
- **2023-08-22** `2b43f8cf5d91` — 1 breaking, 1 warning, 1 info
- **2023-08-14** `355cfd2329c1` — 1 info

## Changes

- **2024-11-07** `bf0b42ebdc02` — 1 info
  - the response property `items/id` became required for the status `201`
- **2023-08-22** `2b43f8cf5d91` — 1 breaking, 1 warning, 1 info
  - added the new required request property `role`
  - removed the request property `roles`
  - added `subschema #1` to the request body `oneOf` list
- **2023-08-14** `355cfd2329c1` — 1 info
  - endpoint added

---

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