---
title: "Assign Multiple User Roles"
method: POST
path: "/restapi/v1.0/account/{accountId}/user-role/{roleId}/bulk-assign"
tags: ["Role Management"]
---

# Assign Multiple User Roles

`POST /restapi/v1.0/account/{accountId}/user-role/{roleId}/bulk-assign`

## Request

- Base URL: `https://platform.ringcentral.com`
- URL: `https://platform.ringcentral.com/restapi/v1.0/account/{accountId}/user-role/{roleId}/bulk-assign`
- Auth: OAuth 2
  - Authorization code: `https://platform.ringcentral.com/restapi/oauth/authorize`
  - Token URL: `https://platform.ringcentral.com/restapi/oauth/token`
- TypeScript: <https://skmtc.dev/ringcentral/apis/ringcentral-api/docs/restapi/v1.0/account/:accountId/user-role/:roleId/bulk-assign/post.ts> (a function with typed inputs; its response is checked against the schema)

Assigns multiple user roles.

## Path parameters

- `accountId` string, required
- `roleId` string, required

## Request body

- BulkRoleAssignResource
  - `siteRestricted` boolean
  - `siteCompatible` boolean
  - `uri` string, uri
  - `addedExtensionIds` string[]
  - `removedExtensionIds` string[]

## Response `200`

Assigned user roles information

---

[API](https://skmtc.dev/ringcentral/apis/ringcentral-api.md) - [All operations](https://skmtc.dev/ringcentral/apis/ringcentral-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ringcentral/apis/ringcentral-api/revisions/8d602198ec97?raw)
