---
title: "GET /{scope}/providers/Microsoft.Authorization/roleDefinitions"
method: GET
path: "/{scope}/providers/Microsoft.Authorization/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

- `api-version` string, required
- `$filter` string

## Response `200`

The request has succeeded.

- RoleDefinitionListResult — Role definition list operation result.
  - `value` RoleDefinition[] — Role definition list.
    - `id` string — The role definition ID.
    - `name` string — The role definition name.
    - `type` 'Microsoft.Authorization/roleDefinitions' — The role definition type.
    - `properties` RoleDefinitionProperties — Role definition properties.
      - `roleName` string — The role name.
      - `description` string — The role definition description.
      - `type` 'AKVBuiltInRole' | 'CustomRole' — The role type.
      - `permissions` Permission[] — Role definition permissions.
        - `actions` string[] — Action permissions that are granted.
        - `notActions` string[] — Action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal.
        - `dataActions` DataAction[] — Data action permissions that are granted.
        - `notDataActions` DataAction[] — Data action permissions that are excluded but not denied. They may be granted by other role definitions assigned to a principal.
      - `assignableScopes` RoleScope[] — Role definition assignable scopes.
  - `nextLink` string — The URL to use for getting the next set of results.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/keyvault-administration.md) · [All operations](https://skmtc.dev/azure/apis/keyvault-administration/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/keyvault-administration/revisions/207d840b9335/schema)
