RBAC Groups changedapi/beta/organization/rbac_groups
Nearest release: v2.1.280, published 20 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+171added
Lines−108removed
From line
53
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 53, old and new numbered
/
from line 53
5353
5454 Name of the RBAC Group. Not uniqueness-enforced.
5555
56 - `roles: array of string or null`
56 - `role_ids: array of string or null`
5757
5858 RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API. `null` means role data was temporarily unavailable — retry to distinguish from an empty list.
5959
from line 71
7171
7272 format: date-time
7373
74 - `roles: array of string or null`
75
76 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
77
78 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
79
7480- `has_more: boolean`
7581
7682 Indicates if there are more results in the requested page direction.
from line 102
96102 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
97103 "created_at": "2024-10-30T23:58:27.427722Z",
98104 "name": "Engineering",
105 "role_ids": [
106 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
107 ],
99108 "roles": [
100109 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
101110 ],
from line 120
111120
112121## Get RBAC Group
113122
114**GET** `/v1/organizations/rbac_groups/{group_id}`
123**GET** `/v1/organizations/rbac_groups/{rbac_group_id}`
115124
116125Retrieve an RBAC Group by ID.
117126
from line 128
119128
120129### Path parameters
121130
122- `group_id: string`
131- `rbac_group_id: string`
123132
124133 ID of the RBAC Group.
125134
from line 158
149158
150159 Name of the RBAC Group. Not uniqueness-enforced.
151160
152 - `roles: array of string or null`
161 - `role_ids: array of string or null`
153162
154163 RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API. `null` means role data was temporarily unavailable — retry to distinguish from an empty list.
155164
from line 176
167176
168177 format: date-time
169178
179 - `roles: array of string or null`
180
181 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
182
183 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
184
170185### Example
171186
172187```bash
173curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
188curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
174189 -H 'anthropic-version: 2023-06-01' \
175190 -H "X-Api-Key: $ANTHROPIC_API_KEY"
176191```
from line 197
182197 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
183198 "created_at": "2024-10-30T23:58:27.427722Z",
184199 "name": "Engineering",
200 "role_ids": [
201 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
202 ],
185203 "roles": [
186204 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
187205 ],
from line 251
233251
234252 Name of the RBAC Group. Not uniqueness-enforced.
235253
236 - `roles: array of string or null`
254 - `role_ids: array of string or null`
237255
238256 RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API. `null` means role data was temporarily unavailable — retry to distinguish from an empty list.
239257
from line 269
251269
252270 format: date-time
253271
272 - `roles: array of string or null`
273
274 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
275
276 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
277
254278### Example
255279
256280```bash
from line 294
270294 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
271295 "created_at": "2024-10-30T23:58:27.427722Z",
272296 "name": "Engineering",
297 "role_ids": [
298 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
299 ],
273300 "roles": [
274301 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
275302 ],
from line 308
281308
282309## Update RBAC Group
283310
284**POST** `/v1/organizations/rbac_groups/{group_id}`
311**POST** `/v1/organizations/rbac_groups/{rbac_group_id}`
285312
286313Update an RBAC Group's name. Groups provisioned by an identity provider (source type `"scim"`) cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
287314
from line 316
289316
290317### Path parameters
291318
292- `group_id: string`
319- `rbac_group_id: string`
293320
294321 ID of the RBAC Group.
295322
from line 354
327354
328355 Name of the RBAC Group. Not uniqueness-enforced.
329356
330 - `roles: array of string or null`
357 - `role_ids: array of string or null`
331358
332359 RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API. `null` means role data was temporarily unavailable — retry to distinguish from an empty list.
333360
from line 372
345372
346373 format: date-time
347374
375 - `roles: array of string or null`
376
377 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
378
379 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
380
348381### Example
349382
350383```bash
351curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
384curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
352385 -H 'Content-Type: application/json' \
353386 -H 'anthropic-version: 2023-06-01' \
354387 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
from line 397
364397 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
365398 "created_at": "2024-10-30T23:58:27.427722Z",
366399 "name": "Engineering",
400 "role_ids": [
401 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
402 ],
367403 "roles": [
368404 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
369405 ],
from line 411
375411
376412## Delete RBAC Group
377413
378**DELETE** `/v1/organizations/rbac_groups/{group_id}`
414**DELETE** `/v1/organizations/rbac_groups/{rbac_group_id}`
379415
380416Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API while an organization in the tenant uses SCIM provisioning.
381417
from line 419
383419
384420### Path parameters
385421
386- `group_id: string`
422- `rbac_group_id: string`
387423
388424 ID of the RBAC Group.
389425
from line 442
406442### Example
407443
408444```bash
409curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
445curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
410446 -X DELETE \
411447 -H 'anthropic-version: 2023-06-01' \
412448 -H "X-Api-Key: $ANTHROPIC_API_KEY"
from line 485
449485
450486 Name of the RBAC Group. Not uniqueness-enforced.
451487
452 - `roles: array of string or null`
488 - `role_ids: array of string or null`
453489
454490 RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API. `null` means role data was temporarily unavailable — retry to distinguish from an empty list.
455491
from line 503
467503
468504 format: date-time
469505
506 - `roles: array of string or null`
507
508 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
509
510 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
511
470512### Beta RBAC Group Deleted
471513
472514- `BetaRBACGroupDeleted object`
from line 529
487529
488530### List RBAC Group Members
489531
490**GET** `/v1/organizations/rbac_groups/{group_id}/members`
532**GET** `/v1/organizations/rbac_groups/{rbac_group_id}/members`
491533
492534List members of an RBAC Group.
493535
from line 537
495537
496538#### Path parameters
497539
498- `group_id: string`
540- `rbac_group_id: string`
499541
500542 ID of the RBAC Group.
501543
from line 577
535577
536578 Email of the User.
537579
538 - `group_id: string`
580 - `rbac_group_id: string`
539581
540582 ID of the RBAC Group.
541583
from line 585
543585
544586 ID of the User.
545587
588 - `group_id: string`
589
590 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
591
592 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
593
546594- `has_more: boolean`
547595
548596 Indicates if there are more results in the requested page direction.
from line 602
554602#### Example
555603
556604```bash
557curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members \
605curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
558606 -H 'anthropic-version: 2023-06-01' \
559607 -H "X-Api-Key: $ANTHROPIC_API_KEY"
560608```
from line 616
568616 "created_at": "2024-10-30T23:58:27.427722Z",
570618 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
619 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
571620 "type": "rbac_group_member",
572621 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
573622 }
from line 628
579628
580629### Add RBAC Group Member
581630
582**POST** `/v1/organizations/rbac_groups/{group_id}/members`
631**POST** `/v1/organizations/rbac_groups/{rbac_group_id}/members`
583632
584633Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
585634
from line 636
587636
588637#### Path parameters
589638
590- `group_id: string`
639- `rbac_group_id: string`
591640
592641 ID of the RBAC Group.
593642
from line 668
619668
620669 Email of the User.
621670
622 - `group_id: string`
671 - `rbac_group_id: string`
623672
624673 ID of the RBAC Group.
625674
from line 676
627676
628677 ID of the User.
629678
679 - `group_id: string`
680
681 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
682
683 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
684
630685#### Example
631686
632687```bash
633curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members \
688curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
634689 -H 'Content-Type: application/json' \
635690 -H 'anthropic-version: 2023-06-01' \
636691 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
from line 701
646701 "created_at": "2024-10-30T23:58:27.427722Z",
648703 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
704 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
649705 "type": "rbac_group_member",
650706 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
651707}
from line 709
653709
654710### Remove RBAC Group Member
655711
656**DELETE** `/v1/organizations/rbac_groups/{group_id}/members/{user_id}`
712**DELETE** `/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}`
657713
658714Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via the API while an organization in the tenant uses SCIM provisioning.
659715
from line 717
661717
662718#### Path parameters
663719
664- `group_id: string`
720- `rbac_group_id: string`
665721
666722 ID of the RBAC Group.
667723
from line 735
679735
680736 default: rbac_group_member_deleted
681737
682 - `group_id: string`
738 - `rbac_group_id: string`
683739
684740 ID of the RBAC Group.
685741
from line 743
687743
688744 ID of the User.
689745
746 - `group_id: string`
747
748 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
749
750 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
751
690752#### Example
691753
692754```bash
693curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members/$USER_ID \
755curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members/$USER_ID \
694756 -X DELETE \
695757 -H 'anthropic-version: 2023-06-01' \
696758 -H "X-Api-Key: $ANTHROPIC_API_KEY"
from line 763
701763```json
702764{
703765 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
766 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
704767 "type": "rbac_group_member_deleted",
705768 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
706769}
No line in this hunk matches that.