---
title: "GET /{scope}/providers/Microsoft.Authorization/roleDefinitions"
method: GET
path: "/{scope}/providers/Microsoft.Authorization/roleDefinitions"
tags: ["RoleDefinitions"]
---

# GET /{scope}/providers/Microsoft.Authorization/roleDefinitions

`GET /{scope}/providers/Microsoft.Authorization/roleDefinitions`

Get all role definitions that are applicable at scope and above.

## Path parameters

- `scope` string, required

## Query parameters

- `$filter` string

## Parameters

- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

OK - Returns an array of role definitions.

- RoleDefinitionListResult — Role definition list operation result.
  - `value` RoleDefinition[] — Role definition list.
    - `id` string — The role definition ID.
    - `name` string — The role definition name.
    - `type` string — The role definition type.
    - `properties` RoleDefinitionProperties — Role definition properties.
      - `roleName` string — The role name.
      - `description` string — The role definition description.
      - `type` string — The role type.
      - `permissions` Permission[] — Role definition permissions.
        - `actions` string[] — Allowed actions.
        - `notActions` string[] — Denied actions.
        - `dataActions` string[] — Allowed Data actions.
        - `notDataActions` string[] — Denied Data actions.
      - `assignableScopes` string[] — Role definition assignable scopes.
  - `nextLink` string — The URL to use for getting the next set of results.

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2021-02-21** (2018-01-01-preview) `a515c056fd69` — 1 warning
  - deleted the `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/authorizationmanagementclient-6/changes/:scope/providers/Microsoft.Authorization/roleDefinitions/get.md)

---

[API](https://skmtc.dev/azure/apis/authorizationmanagementclient-6.md) · [All operations](https://skmtc.dev/azure/apis/authorizationmanagementclient-6/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/authorizationmanagementclient-6/revisions/95efc3a827fd/schema)
