---
title: "Update User Assigned Roles"
method: PUT
path: "/restapi/v1.0/account/{accountId}/extension/{extensionId}/assigned-role"
tags: ["Role Management"]
---

# Update User Assigned Roles

`PUT /restapi/v1.0/account/{accountId}/extension/{extensionId}/assigned-role`

Updates a list of roles assigned to the current user.

## Path parameters

- `accountId` string, required
- `extensionId` string, required

## Request body

- AssignedRolesResource
  - `uri` string, uri
  - `records` AssignedRoleResource[]
    - `uri` string, uri — Link to an assigned role resource
    - `id` string — Internal identifier of a role
    - `autoAssigned` boolean — Specifies if a role can be auto assigned
    - `displayName` string — Name of a default role
    - `siteCompatible` boolean — Site compatibility flag
    - `siteRestricted` boolean — Site restricted flag

## Response `200`

Updated list of roles assigned to an extension

- AssignedRolesResource
  - `uri` string, uri
  - `records` AssignedRoleResource[]
    - `uri` string, uri — Link to an assigned role resource
    - `id` string — Internal identifier of a role
    - `autoAssigned` boolean — Specifies if a role can be auto assigned
    - `displayName` string — Name of a default role
    - `siteCompatible` boolean — Site compatibility flag
    - `siteRestricted` boolean — Site restricted flag

---

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