Skip to content

Commit 6f9bb70

Browse files
committed
Simplify list all custom role definitions
1 parent 00491dc commit 6f9bb70

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

articles/role-based-access-control/custom-roles-rest.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,7 @@ For more information, see [API versions of Azure RBAC REST APIs](/rest/api/autho
3838

3939
To list all custom role definitions in a tenant, use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) REST API.
4040

41-
1. Start with the following request:
42-
43-
```http
44-
GET https://management.azure.com/providers/Microsoft.Authorization/roleDefinitions?$filter={filter}&api-version=2022-04-01
45-
```
46-
47-
1. Replace *{filter}* with the role type.
48-
49-
> [!div class="mx-tableFixed"]
50-
> | Filter | Description |
51-
> | --- | --- |
52-
> | `$filter=type+eq+'CustomRole'` | Filter based on the CustomRole type |
53-
54-
The following example lists all custom role definitions in a tenant:
41+
- The following example lists all custom role definitions in a tenant:
5542

5643
**Request**
5744

0 commit comments

Comments
 (0)