Skip to content

Commit 8464bd4

Browse files
Apply suggestions from code review
Co-authored-by: brentschaus-okta <[email protected]>
1 parent e21a4a2 commit 8464bd4

File tree

1 file changed

+2
-3
lines changed
  • packages/@okta/vuepress-site/docs/reference/api/roles

1 file changed

+2
-3
lines changed

packages/@okta/vuepress-site/docs/reference/api/roles/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,6 @@ Lists all Roles assigned to an Client Application
20182018

20192019
##### Response parameters
20202020

2021-
20222021
Array of [Roles](#role-object)
20232022

20242023
##### Request example
@@ -2180,7 +2179,7 @@ curl -v -X POST \
21802179

21812180
<ApiOperation method="post" url="/oauth2/v1/clients/${clientId}/roles" />
21822181

2183-
Assigns a Role to a Group
2182+
Assigns a Role to a Client
21842183

21852184
##### Request parameters
21862185

@@ -2245,7 +2244,7 @@ as long as the request body contains a Custom `role` ID and a `resource-set` ID.
22452244

22462245
| Parameter | Description | Param Type | DataType | Required |
22472246
| :-------------------- | :-------------------------- | :----------- | :-------------------------- | :------- |
2248-
| `userId`, `groupId`, `clientId` | User ID or Group ID | URL | String | TRUE |
2247+
| `userId`, `groupId`, `clientId` | User ID, Group ID, or Client ID | URL | String | TRUE |
22492248
| `type` | Type of Role to assign | Body | String literal: `CUSTOM` | TRUE |
22502249
| `role` | ID of the Custom Role | Body | String | TRUE |
22512250
| `resource-set` | ID of the Resource Set | Body | String | TRUE |

0 commit comments

Comments
 (0)