---
title: "List Company Assigned Roles"
method: GET
path: "/restapi/v1.0/account/{accountId}/assigned-role"
tags: ["Role Management"]
---

# List Company Assigned Roles

`GET /restapi/v1.0/account/{accountId}/assigned-role`

Returns a list of roles assigned to the current account.

## Path parameters

- `accountId` string, required

## Query parameters

- `showHidden` boolean

## Response `200`

List of roles assigned to an account

- ExtensionWithRolesCollectionResource
  - `uri` string, uri
  - `records` ExtensionWithRolesResource[]
    - `uri` string, uri
    - `extensionId` string
    - `roles` 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
  - `paging` EnumeratedPagingModel
    - `perPage` integer, required — Current page size, describes how many items are in each page. Matches "perPage" parameter from the request.
    - `page` integer — The current page number. 1-indexed, so the first page is 1 by default. May be omitted if result is empty (because non-existent page was specified or perPage=0 was requested)
    - `pageStart` integer — The zero-based number of the first element on the current page. Omitted if the page is omitted or result is empty
    - `pageEnd` integer — The zero-based index of the last element on the current page. Omitted if the page is omitted or result is empty
    - `totalPages` integer — The total number of pages in a dataset. May be omitted for some resources due to performance reasons
    - `totalElements` integer — The total number of elements in a dataset. May be omitted for some resource due to performance reasons
  - `navigation` PageNavigationModel — Links to other pages of the current result set
    - `firstPage` PageNavigationUri
      - `uri` string, uri — Canonical URI to retrieve the particular page of the result set
    - `nextPage` PageNavigationUri
      - `uri` string, uri — Canonical URI to retrieve the particular page of the result set
    - `previousPage` PageNavigationUri
      - `uri` string, uri — Canonical URI to retrieve the particular page of the result set
    - `lastPage` PageNavigationUri
      - `uri` string, uri — Canonical URI to retrieve the particular page of the result set

---

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