Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

RBAC Groups changedapi/beta/organization/rbac_groups

Nearest release: v2.1.309, published 2 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+16added
Lines−79removed
From line 73 where the diff opens
First seen 10 Sep 2026 this site's first read of the page
Recorded edits8to this page, all time

The whole hunk

from line 73, old and new numbered
/
lines
from line 73
7373 
7474 format: date-time
7575 
76 - `roles: array of string or null`
77 
78 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
79 
80 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
81 
8276### Example
8377 
8478```bash
8579curl https://api.anthropic.com/v1/organizations/rbac_groups \
8680 -H 'Content-Type: application/json' \
87 -H 'anthropic-version: 2023-06-01' \
88 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
81 -H 'anthropic-version: 2026-10-21' \
82 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
8983 -d '{
9084 "name": "Engineering"
9185 }'
from line 95
10195 "role_ids": [
10296 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
10397 ],
104 "roles": [
105 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
106 ],
10798 "source_type": "direct",
10899 "type": "rbac_group",
109100 "updated_at": "2024-10-30T23:58:27.427722Z"
from line 175
184175 
185176 format: date-time
186177 
187 - `roles: array of string or null`
188 
189 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
190 
191 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
192 
193178- `has_more: boolean`
194179 
195180 Indicates if there are more results in the requested page direction.
from line 187
202187 
203188```bash
204189curl https://api.anthropic.com/v1/organizations/rbac_groups \
205 -H 'anthropic-version: 2023-06-01' \
206 -H "X-Api-Key: $ANTHROPIC_API_KEY"
190 -H 'anthropic-version: 2026-10-21' \
191 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
207192```
208193 
209194#### Response (200)
from line 203
218203 "role_ids": [
219204 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
220205 ],
221 "roles": [
222 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
223 ],
224206 "source_type": "direct",
225207 "type": "rbac_group",
226208 "updated_at": "2024-10-30T23:58:27.427722Z"
from line 279
297279 
298280 format: date-time
299281 
300 - `roles: array of string or null`
301 
302 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
303 
304 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
305 
306282### Example
307283 
308284```bash
309285curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
310 -H 'anthropic-version: 2023-06-01' \
311 -H "X-Api-Key: $ANTHROPIC_API_KEY"
286 -H 'anthropic-version: 2026-10-21' \
287 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
312288```
313289 
314290#### Response (200)
from line 297
321297 "role_ids": [
322298 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
323299 ],
324 "roles": [
325 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
326 ],
327300 "source_type": "direct",
328301 "type": "rbac_group",
329302 "updated_at": "2024-10-30T23:58:27.427722Z"
from line 377
404377 
405378 format: date-time
406379 
407 - `roles: array of string or null`
408 
409 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
410 
411 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
412 
413380### Example
414381 
415382```bash
416383curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
417384 -H 'Content-Type: application/json' \
418 -H 'anthropic-version: 2023-06-01' \
419 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
385 -H 'anthropic-version: 2026-10-21' \
386 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
420387 -d '{
421388 "name": "Engineering"
422389 }'
from line 399
432399 "role_ids": [
433400 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
434401 ],
435 "roles": [
436 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
437 ],
438402 "source_type": "direct",
439403 "type": "rbac_group",
440404 "updated_at": "2024-10-30T23:58:27.427722Z"
from line 446
482446```bash
483447curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
484448 -X DELETE \
485 -H 'anthropic-version: 2023-06-01' \
486 -H "X-Api-Key: $ANTHROPIC_API_KEY"
449 -H 'anthropic-version: 2026-10-21' \
450 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
487451```
488452 
489453#### Response (200)
from line 505
541505 
542506 format: date-time
543507 
544 - `roles: array of string or null`
545 
546 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
547 
548 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
549 
550508### RBAC Group Delete Response
551509 
552510- `RBACGroupDeleteResponse object`
from line 589
631589 
632590 ID of the User.
633591 
634 - `group_id: string`
635 
636 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
637 
638 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
639 
640592- `has_more: boolean`
641593 
642594 Indicates if there are more results in the requested page direction.
from line 601
649601 
650602```bash
651603curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
652 -H 'anthropic-version: 2023-06-01' \
653 -H "X-Api-Key: $ANTHROPIC_API_KEY"
604 -H 'anthropic-version: 2026-10-21' \
605 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
654606```
655607 
656608##### Response (200)
from line 613
661613 {
662614 "created_at": "2024-10-30T23:58:27.427722Z",
663615 "email": "[email protected]",
664 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
665616 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
666617 "type": "rbac_group_member",
667618 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 681
730681 
731682 ID of the User.
732683 
733 - `group_id: string`
734 
735 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
736 
737 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
738 
739684#### Example
740685 
741686```bash
742687curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
743688 -H 'Content-Type: application/json' \
744 -H 'anthropic-version: 2023-06-01' \
745 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
689 -H 'anthropic-version: 2026-10-21' \
690 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
746691 -d '{
747692 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
748693 }'
from line 699
754699{
755700 "created_at": "2024-10-30T23:58:27.427722Z",
756701 "email": "[email protected]",
757 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
758702 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
759703 "type": "rbac_group_member",
760704 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
from line 747
803747 
804748 ID of the User.
805749 
806- `group_id: string`
807 
808 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
809 
810 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
811 
812750#### Example
813751 
814752```bash
815753curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members/$USER_ID \
816754 -X DELETE \
817 -H 'anthropic-version: 2023-06-01' \
818 -H "X-Api-Key: $ANTHROPIC_API_KEY"
755 -H 'anthropic-version: 2026-10-21' \
756 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
819757```
820758 
821759##### Response (200)
from line 760
822760 
823761```json
824762{
825 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
826763 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
827764 "type": "rbac_group_member_deleted",
828765 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
Feedback