---
title: "Update User Group Roles"
method: PUT
path: "/api/access/v2/user-groups/{groupId}/access-levels"
tags: ["User Groups V2"]
---

# Update User Group Roles

`PUT /api/access/v2/user-groups/{groupId}/access-levels`

Use this API to update the roles of a user group by replacing the current set of roles with a new one.

## Path parameters

- `groupId` string, uuid, required

## Request body

- PlatformAccessManagementPublicAccessLevelUpdateDto
  - `currentOrganizationId` string, uuid, required — The unique identifier of the organization currently associated with the user group.
  - `currentRoleId` string, uuid, required — The unique identifier of the role currently associated with the user group.
  - `newOrganizationId` string, uuid, required — The unique identifier of the replacement organization.
  - `newRoleId` string, uuid, required — The unique identifier of the replacement role.

## Response `204`

Access level updated successfully

## Other responses

- `400` — Invalid request data
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Insufficient permissions
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
