---
title: "Returns all permissions of the specified role."
method: GET
path: "/roles/{roleId}/permissions"
tags: ["roles"]
---

# Returns all permissions of the specified role.

`GET /roles/{roleId}/permissions`

<Check title="Required Permissions" icon="key">The user must be an admin or have `workspace-manage-config:read` permissions.</Check>

## Path parameters

- `roleId` string, uuid, required

## Query parameters

- `page` integer
- `pageSize` integer
- `orderby` string
- `filterby` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- PermissionOfGlobalRole[]
  - `feature` string, nullable — The feature these permissions belong to.
  - `accessLevels` string[], nullable — The access levels applied to this feature.
  - `id` string, uuid — The id of the permission.
  - `createdOn` string, date-time — The date this entity was created.
  - `updatedOn` string, date-time — The date this entity was last modified.
  - `subdomains` string[], nullable — The workspace's subdomains. Read-only.
  - `identityIds` string[], nullable — The ids of identities assigned to this workspace. Read-only.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
