The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Groups
3url: https://platform.claude.com/docs/en/api/compliance/groups
4---
5
16# Groups
27
38## List Compliance Groups
from line 31
2631
2732### Headers
2833
34- `"anthropic-version": optional string`
35
36 The version of the Claude API you want to use.
37
38 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
39
2940- `"x-api-key": optional string`
3041
3142### Returns
from line 51
4051
4152 - `created_at: string or null`
4253
43 Group creation timestamp (ISO 8601)
54 Group creation timestamp (RFC 3339)
4455
56 format: date-time
57
4558 - `description: string`
4659
4760 Group description
from line 73
6073
6174 - `updated_at: string or null`
6275
63 Group last-updated timestamp (ISO 8601)
76 Group last-updated timestamp (RFC 3339)
6477
78 format: date-time
79
6580- `has_more: boolean`
6681
6782 Whether more records exist beyond the current result set
from line 99
8499 "data": [
85100 {
86101 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
87 "created_at": "2025-03-12T18:22:41.123456",
102 "created_at": "2025-03-12T18:22:41.123456Z",
88103 "description": "All members of the engineering organization",
89104 "name": "Engineering Team",
90105 "roles": [
from line 107
92107 "rbac_role_01HtCd4mFoAseWS3RnzKcwE7"
93108 ],
94109 "source_type": "scim",
95 "updated_at": "2025-03-14T09:05:17.456789"
110 "updated_at": "2025-03-14T09:05:17.456789Z"
96111 }
97112 ],
98113 "has_more": true,
from line 129
114129
115130### Headers
116131
132- `"anthropic-version": optional string`
133
134 The version of the Claude API you want to use.
135
136 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
137
117138- `"x-api-key": optional string`
118139
119140### Returns
from line 145
124145
125146- `created_at: string or null`
126147
127 Group creation timestamp (ISO 8601)
148 Group creation timestamp (RFC 3339)
128149
150 format: date-time
151
129152- `description: string`
130153
131154 Group description
from line 167
144167
145168- `updated_at: string or null`
146169
147 Group last-updated timestamp (ISO 8601)
170 Group last-updated timestamp (RFC 3339)
148171
172 format: date-time
173
149174### Example
150175
151176```bash
from line 183
158183```json
159184{
160185 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
161 "created_at": "2025-03-12T18:22:41.123456",
186 "created_at": "2025-03-12T18:22:41.123456Z",
162187 "description": "All members of the engineering organization",
163188 "name": "Engineering Team",
164189 "roles": [
from line 191
166191 "rbac_role_01HtCd4mFoAseWS3RnzKcwE7"
167192 ],
168193 "source_type": "scim",
169 "updated_at": "2025-03-14T09:05:17.456789"
194 "updated_at": "2025-03-14T09:05:17.456789Z"
170195}
171196```
172197
from line 209
184209
185210 - `created_at: string or null`
186211
187 Group creation timestamp (ISO 8601)
212 Group creation timestamp (RFC 3339)
188213
214 format: date-time
215
189216 - `description: string`
190217
191218 Group description
from line 231
204231
205232 - `updated_at: string or null`
206233
207 Group last-updated timestamp (ISO 8601)
234 Group last-updated timestamp (RFC 3339)
208235
236 format: date-time
237
209238### Group List Response
210239
211240- `GroupListResponse object`
from line 247
218247
219248 - `created_at: string or null`
220249
221 Group creation timestamp (ISO 8601)
250 Group creation timestamp (RFC 3339)
222251
252 format: date-time
253
223254 - `description: string`
224255
225256 Group description
from line 269
238269
239270 - `updated_at: string or null`
240271
241 Group last-updated timestamp (ISO 8601)
272 Group last-updated timestamp (RFC 3339)
242273
274 format: date-time
275
243276## Groups › Members
244277
245278### List Compliance Group Members
from line 301
268301
269302#### Headers
270303
304- `"anthropic-version": optional string`
305
306 The version of the Claude API you want to use.
307
308 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
309
271310- `"x-api-key": optional string`
272311
273312#### Returns
from line 317
278317
279318 - `created_at: string or null`
280319
281 Membership creation timestamp (ISO 8601)
320 Membership creation timestamp (RFC 3339)
282321
322 format: date-time
323
283324 - `email: string`
284325
285326 Member email address
from line 327
286327
287328 - `updated_at: string or null`
288329
289 Membership last-updated timestamp (ISO 8601)
330 Membership last-updated timestamp (RFC 3339)
290331
332 format: date-time
333
291334 - `user_id: string`
292335
293336 Member user identifier (tagged ID)
from line 356
313356{
314357 "data": [
315358 {
316 "created_at": "2025-03-12T18:22:41.123456",
359 "created_at": "2025-03-12T18:22:41.123456Z",
318 "updated_at": "2025-03-14T09:05:17.456789",
361 "updated_at": "2025-03-14T09:05:17.456789Z",
319362 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
320363 }
321364 ],