You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/identity-server/next/docs/apis/scim2/scim2-batch-operations.md
+91-12Lines changed: 91 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,16 +11,81 @@ The SCIM2 API allows you to send multiple resource operations in a single reques
11
11
[scim2]
12
12
max_bulk_operations = 500
13
13
```
14
-
14
+
15
+
## Scope(permission) required for batch operations
16
+
17
+
{{ product_name }} now introduces operation-wise scopes for batch operations. This allows you to enforce more granular access control for each SCIM2 operation within a batch request.
18
+
19
+
Though the `internal_bulk_resource_create` scope continues to support, it's advised to use the new operation-wise scopes.
20
+
21
+
22
+
23
+
<table>
24
+
<tr>
25
+
<th>Operation</th>
26
+
<th>Scope</th>
27
+
</tr>
28
+
<tr>
29
+
<td>Create Users</td>
30
+
<td>internal_bulk_user_create</td>
31
+
</tr>
32
+
<tr>
33
+
<td>Update Users</td>
34
+
<td>internal_bulk_user_update</td>
35
+
</tr>
36
+
<tr>
37
+
<td>Replace Users</td>
38
+
<td>internal_bulk_user_update</td>
39
+
</tr>
40
+
<tr>
41
+
<td>Delete Users</td>
42
+
<td>internal_bulk_user_delete</td>
43
+
</tr>
44
+
<tr>
45
+
<td>Create Groups</td>
46
+
<td>internal_bulk_group_create</td>
47
+
</tr>
48
+
<tr>
49
+
<td>Update Groups</td>
50
+
<td>internal_bulk_group_update</td>
51
+
</tr>
52
+
<tr>
53
+
<td>Replace Groups</td>
54
+
<td>internal_bulk_group_update</td>
55
+
</tr>
56
+
<tr>
57
+
<td>Delete Groups</td>
58
+
<td>internal_bulk_group_delete</td>
59
+
</tr>
60
+
<tr>
61
+
<td>Create Roles</td>
62
+
<td>internal_bulk_role_create</td>
63
+
</tr>
64
+
<tr>
65
+
<td>Update Roles</td>
66
+
<td>internal_bulk_role_update</td>
67
+
</tr>
68
+
<tr>
69
+
<td>Replace Roles</td>
70
+
<td>internal_bulk_role_update</td>
71
+
</tr>
72
+
<tr>
73
+
<td>Delete Roles</td>
74
+
<td>internal_bulk_role_delete</td>
75
+
</tr>
76
+
</table>
77
+
15
78
## Manage users in bulk
16
-
79
+
17
80
You can use the **bulk** operations to add, remove, update, and replace users in bulk.
18
81
19
82
!!! Info
20
83
The examples given below show individual resource operations (POST, PATCH, PUT, or DELETE) handled in a single request. However, note that a single request can execute a combination of operation types simultaneously.
Given below is an example request payload to update users in bulk. This request includes an array of operations that updates multiple details of multiple users.
189
256
190
257
```json
@@ -353,7 +420,9 @@ The parameters in the request body are explained below.
Given below is an example request payload to delete existing users in bulk. This request includes an array of operations that delete multiple users.
514
585
515
586
```json
@@ -596,7 +667,9 @@ You can use **bulk** operations to add, update, replace, and delete user groups
596
667
The examples given below show individual resource operations (POST, PATCH, PUT, or DELETE) handled in a single request. However, note that a single request can execute a combination of operation types simultaneously.
Given below is an example request payload to update user groups in bulk. This request includes an array of operations that update multiple details in multiple user groups.
761
836
762
837
```json
@@ -946,7 +1021,9 @@ The parameters in the request body are explained below.
Given below is an example request payload to replace existing user groups in bulk. This request includes an array of operations that replace multiple user groups.
951
1028
952
1029
```json
@@ -1100,8 +1177,10 @@ The parameters in the request body are explained below.
Given below is an example request payload to delete existing user groups in bulk. This request includes an array of operations that delete multiple user groups.
0 commit comments