---
title: "Updates a users role in a group."
method: PATCH
path: "/v1/groups/{groupId}/users/{userId}"
tags: ["Groups", "Users"]
---

# Updates a users role in a group.

`PATCH /v1/groups/{groupId}/users/{userId}`

## Path parameters

- `groupId` integer, required
- `userId` integer, required

## Request body

- RobloxGroupsApiUpdateUserRoleRequest — A request model for setting a users role in a group.
  - `roleId` integer — The role in the group the user should be put into.

## Response `200`

OK

- RobloxWebWebAPIApiEmptyResponseModel

## Other responses

- `400` — 1: The group is invalid or does not exist. 2: The roleset is invalid or does not exist. 3: The user is invalid or does not exist. 23: You cannot change your own role. 26: You cannot change the user's role to the same role.
- `401` — 0: Authorization has been denied for this request.
- `403` — 0: Token Validation Failed 4: You do not have permission to manage this member.
- `503` — 18: The operation is temporarily unavailable. Please try again later.

---

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