Skip to content

Commit 2346882

Browse files
committed
Fix links, add definition text
1 parent 8ada4a6 commit 2346882

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ You must use the following version:
3434

3535
For more information, see [API versions of Azure RBAC REST APIs](/rest/api/authorization/versions).
3636

37-
## List all custom roles in a tenant
37+
## List all custom role definitions
3838

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

4141
1. Start with the following request:
4242

@@ -51,7 +51,7 @@ To list all custom roles in a tenant, use the [Role Definitions - List](/rest/ap
5151
> | --- | --- |
5252
> | `$filter=type+eq+'CustomRole'` | Filter based on the CustomRole type |
5353
54-
The following example lists all custom roles in a tenant:
54+
The following example lists all custom role definitions in a tenant:
5555
5656
**Request**
5757
@@ -104,9 +104,9 @@ To list all custom roles in a tenant, use the [Role Definitions - List](/rest/ap
104104
}
105105
```
106106
107-
## List all custom roles at a scope
107+
## List all custom role definitions at a scope
108108
109-
To list custom roles at a scope, use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) REST API.
109+
To list custom role definitions at a scope, use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) REST API.
110110
111111
1. Start with the following request:
112112
@@ -131,7 +131,7 @@ To list custom roles at a scope, use the [Role Definitions - List](/rest/api/aut
131131
> | --- | --- |
132132
> | `$filter=type+eq+'CustomRole'` | Filter based on the CustomRole type |
133133
134-
The following example lists all custom roles in a subscription:
134+
The following example lists all custom role definitions in a subscription:
135135
136136
**Request**
137137
@@ -186,7 +186,7 @@ To list custom roles at a scope, use the [Role Definitions - List](/rest/api/aut
186186
187187
## List a custom role definition by name
188188
189-
To get information about a custom role by its display name, use the [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API.
189+
To get information about a custom role definition by its display name, use the [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API.
190190
191191
1. Start with the following request:
192192
@@ -211,7 +211,7 @@ To get information about a custom role by its display name, use the [Role Defini
211211
> | --- | --- |
212212
> | `$filter=roleName+eq+'{roleDisplayName}'` | Use the URL encoded form of the exact display name of the role. For instance, `$filter=roleName+eq+'Virtual%20Machine%20Contributor'` |
213213
214-
The following example lists a custom role named Billing Reader Plus in a subscription:
214+
The following example lists a custom role definition named Billing Reader Plus in a subscription:
215215
216216
**Request**
217217
@@ -266,7 +266,7 @@ To get information about a custom role by its display name, use the [Role Defini
266266
267267
## List a custom role definition by ID
268268
269-
To get information about a custom role by its unique identifier, use the [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API.
269+
To get information about a custom role definition by its unique identifier, use the [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API.
270270
271271
1. Use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) REST API to get the GUID identifier for the role.
272272
@@ -288,7 +288,7 @@ To get information about a custom role by its unique identifier, use the [Role D
288288
289289
1. Replace *{roleDefinitionId}* with the GUID identifier of the role definition.
290290
291-
The following example lists a custom role with the identifier 17adabda-4bf1-4f4e-8c97-1f0cab6dea1c in a subscription:
291+
The following example lists a custom role definition with the identifier 17adabda-4bf1-4f4e-8c97-1f0cab6dea1c in a subscription:
292292
293293
**Request**
294294
@@ -440,7 +440,7 @@ To create a custom role, use the [Role Definitions - Create Or Update](/rest/api
440440
441441
To update a custom role, use the [Role Definitions - Create Or Update](/rest/api/authorization/role-definitions/create-or-update) REST API. To call this API, you must be signed in with a user that is assigned a role that has the `Microsoft.Authorization/roleDefinitions/write` permission on all the `assignableScopes`. Of the built-in roles, only [Owner](built-in-roles.md#owner) and [User Access Administrator](built-in-roles.md#user-access-administrator) include this permission.
442442
443-
1. Use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) or [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API to get information about the custom role. For more information, see the earlier [List custom roles](#list-custom-roles) section.
443+
1. Use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) or [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API to get information about the custom role. For more information, see the earlier [List all custom role definitions](#list-all-custom-role-definitions) section.
444444
445445
1. Start with the following request:
446446
@@ -532,7 +532,7 @@ To delete a custom role, use the [Role Definitions - Delete](/rest/api/authoriza
532532
533533
1. Remove any role assignments that use the custom role. For more information, see [Find role assignments to delete a custom role](custom-roles.md#find-role-assignments-to-delete-a-custom-role).
534534
535-
1. Use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) or [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API to get the GUID identifier of the custom role. For more information, see the earlier [List custom roles](#list-custom-roles) section.
535+
1. Use the [Role Definitions - List](/rest/api/authorization/role-definitions/list) or [Role Definitions - Get](/rest/api/authorization/role-definitions/get) REST API to get the GUID identifier of the custom role. For more information, see the earlier [List all custom role definitions](#list-all-custom-role-definitions) section.
536536
537537
1. Start with the following request:
538538

0 commit comments

Comments
 (0)