---
title: "Assigns or revokes a role"
method: PATCH
path: "/v1/game-localization-roles/games/{gameId}"
tags: ["Localization", "Universes"]
---

# Assigns or revokes a role

`PATCH /v1/game-localization-roles/games/{gameId}`

## Path parameters

- `gameId` integer, required

## Request body

- RobloxTranslationRolesApiUpdateRoleRequest — The request body for update role endpoints
  - `assigneeId` integer — The id of the assignee
  - `assigneeType` 'user' | 'group' | 'groupRole' — The type of the assignee ['User' = 0, 'Group' = 1, 'GroupRole' = 2]
  - `role` 'translator' — The role to be assigned or revoked ['Translator' = 0]
  - `revoke` boolean — To assign or to revoke

## Response `200`

OK

- TranslationRolesApiRobloxWebWebAPIApiEmptyResponseModel

## Other responses

- `400` — 3: Invalid game id 4: Invalid assignee id 6: Request body can't be null 7: The role you are assigning has reached max limit
- `401` — 0: Authorization has been denied for this request.
- `403` — 0: Token Validation Failed 1: You must be authorized to use this endpoint
- `429` — 5: Too many attempts. Please try again later.
- `503` — 2: Feature is disabled

---

[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)
