---
title: "Changes to Change user role"
method: PATCH
path: "/api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}"
---

# Changes to Change user role

`PATCH /api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 277 revisions.

- **2026-10-22** `88cdcddec800`: 1 warning, 2 info
- **2026-10-21** `3284377d6609`: 1 info
- **2026-10-08** `2e368d71e0f0`: 1 breaking, 1 warning, 2 info
- **2026-09-29** `ecca63ca35b3`: 1 info
- **2026-09-18** `74f2b0d17636`: 1 warning
- **2026-09-08** `bd17546f47b8`: 5 breaking, 4 info
- **2026-08-14** `2980c6dae34a`: 1 info
- **2026-08-13** `99cb19038135`: 2 breaking, 10 warning, 7 info
- **2026-07-31** `c3e0c48d4112`: 2 info
- **2026-07-27** `05ebd27557fb`: 1 info

## Changes

- **2026-10-22** `88cdcddec800`: 1 warning, 2 info
  - added the new `inherit` enum value to the `autoJoin/anyOf[subschema #1]/role` response property for the response status `200`
  - added the new `inherit` enum value to the request property `anyOf[subschema #1]/role`
  - added the required property `users/items/assignedRole` to the response with the `200` status
- **2026-10-21** `3284377d6609`: 1 info
  - added the optional property `users/items/isExternalCollaborator` to the response with the `200` status
- **2026-10-08** `2e368d71e0f0`: 1 breaking, 1 warning, 2 info
  - the request's body type changed from `object` to no type
  - removed the request property `role`
  - added `subschema #1, subschema #2` to the request body `anyOf` list
  - added the optional property `users/items/roleSetBy` to the response with the `200` status
- **2026-09-29** `ecca63ca35b3`: 1 info
  - added the required property `users/items/orgRole` to the response with the `200` status
- **2026-09-18** `74f2b0d17636`: 1 warning
  - added the new `container` enum value to the `resources/items/oneOf[subschema #1]/type` response property for the response status `200`
- **2026-09-08** `bd17546f47b8`: 5 breaking, 4 info
  - the `role` request property type changed from no type to `string`
  - the response property `description` became nullable for the status `200`
  - added `subschema #1, subschema #2, subschema #3, subschema #4, subschema #5` to the `resources/items/` response property `oneOf` list for the response status `200`
  - the `users/items/role` response's property type changed from no type to `string` for status `200`
  - the `users/items/type` response's property type changed from no type to `string` for status `200`
  - added `subschema #1, subschema #2` to the `autoJoin` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `autoJoin` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2, subschema #3, subschema #4, subschema #5` from the `resources/items/` response property `anyOf` list for the response status `200`
  - response property `description` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2026-08-14** `2980c6dae34a`: 1 info
  - added the optional property `spendLimits` to the response with the `200` status
- **2026-08-13** `99cb19038135`: 2 breaking, 10 warning, 7 info
  - removed `subschema #1, subschema #2` from the `role` request property `anyOf` list
  - request property `role` was restricted to a list of enum values
  - added the new `admin` enum value to the `autoJoin/anyOf[subschema #1]/role` response property for the response status `200`
  - added the new `admin` enum value to the `users/items/role` response property for the response status `200`
  - added the new `contributor` enum value to the `autoJoin/anyOf[subschema #1]/role` response property for the response status `200`
  - added the new `contributor` enum value to the `users/items/role` response property for the response status `200`
  - added the new `no_access` enum value to the `autoJoin/anyOf[subschema #1]/role` response property for the response status `200`
  - added the new `no_access` enum value to the `users/items/role` response property for the response status `200`
  - added the new `read` enum value to the `autoJoin/anyOf[subschema #1]/role` response property for the response status `200`
  - added the new `read` enum value to the `users/items/role` response property for the response status `200`
  - added the new `write` enum value to the `autoJoin/anyOf[subschema #1]/role` response property for the response status `200`
  - added the new `write` enum value to the `users/items/role` response property for the response status `200`
  - added the new `admin` enum value to the request property `role`
  - added the new `contributor` enum value to the request property `role`
  - added the new `no_access` enum value to the request property `role`
  - added the new `read` enum value to the request property `role`
  - added the new `write` enum value to the request property `role`
  - removed `subschema #1, subschema #2` from the `autoJoin/anyOf[subschema #1]/role` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `users/items/role` response property `anyOf` list for the response status `200`
- **2026-07-31** `c3e0c48d4112`: 2 info
  - added `subschema #4, subschema #5` to the `resources/items/` response property `anyOf` list for the response status `200`
  - removed `subschema #4, subschema #5` from the `resources/items/` response property `anyOf` list for the response status `200`
- **2026-07-27** `05ebd27557fb`: 1 info
  - added `subschema #3, subschema #4, subschema #5` to the `resources/items/` response property `anyOf` list for the response status `200`

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/organizations/:name/resource-groups/:resourceGroupId/users/:username/patch.md) - [API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) - [Page](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/organizations/:name/resource-groups/:resourceGroupId/users/:username/patch)
