RBAC Groups changedapi/beta/organization/rbac_groups
Nearest release: v2.1.287, published 4 hours before 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+146added
Lines−150removed
From line
5
where the diff opens
First seen
10 Sep 2026
this site's first read of the page
Recorded edits5to this page, all time
### RBAC Group Delete Response ### Beta RBAC Group Deleted
The whole hunk
from line 5, old and new numbered
/
from line 5
55
66# RBAC Groups
77
8## List RBAC Groups
8## Create RBAC Group
99
10**GET** `/v1/organizations/rbac_groups`
10**POST** `/v1/organizations/rbac_groups`
1111
12List RBAC Groups in the Claude Enterprise tenant.
12Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`.
1313
1414The RBAC Groups API is available to Claude Enterprise organizations only.
1515
16### Query parameters
16### Body parameters
1717
18- `limit: optional number`
18- `name: string`
1919
20 Number of items to return per page.
20 Name of the RBAC Group. Not uniqueness-enforced.
2121
22 Defaults to `20`. Ranges from `1` to `1000`.
22 minLength: 1, maxLength: 255
2323
24 default: 20, minimum: 1, maximum: 1000
25
26- `page: optional string`
27
28 Optionally set to the `next_page` token from the previous response.
29
3024### Returns
3125
32- `data: array of BetaRBACGroup`
26- `BetaRBACGroup object`
3327
3428 - `type: "rbac_group"`
3529
from line 71
7771
7872 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
7973
80- `has_more: boolean`
81
82 Indicates if there are more results in the requested page direction.
83
84- `next_page: string or null`
85
86 Token to provide in as `page` in the subsequent request to retrieve the next page of data.
87
8874### Example
8975
9076```bash
9177curl https://api.anthropic.com/v1/organizations/rbac_groups \
78 -H 'Content-Type: application/json' \
9279 -H 'anthropic-version: 2023-06-01' \
93 -H "X-Api-Key: $ANTHROPIC_API_KEY"
80 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
81 -d '{
82 "name": "Engineering"
83 }'
9484```
9585
9686#### Response (200)
from line 87
9787
9888```json
9989{
100 "data": [
101 {
102 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
103 "created_at": "2024-10-30T23:58:27.427722Z",
104 "name": "Engineering",
105 "role_ids": [
106 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
107 ],
108 "roles": [
109 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
110 ],
111 "source_type": "direct",
112 "type": "rbac_group",
113 "updated_at": "2024-10-30T23:58:27.427722Z"
114 }
90 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
91 "created_at": "2024-10-30T23:58:27.427722Z",
92 "name": "Engineering",
93 "role_ids": [
94 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
11595 ],
116 "has_more": false,
117 "next_page": "eyJjdXJzb3IiOiAicmJhY19ncm91cF8wMSJ9"
96 "roles": [
97 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
98 ],
99 "source_type": "direct",
100 "type": "rbac_group",
101 "updated_at": "2024-10-30T23:58:27.427722Z"
118102}
119103```
120104
121## Get RBAC Group
105## List RBAC Groups
122106
123**GET** `/v1/organizations/rbac_groups/{rbac_group_id}`
107**GET** `/v1/organizations/rbac_groups`
124108
125Retrieve an RBAC Group by ID.
109List RBAC Groups in the Claude Enterprise tenant.
126110
127111The RBAC Groups API is available to Claude Enterprise organizations only.
128112
129### Path parameters
113### Query parameters
130114
131- `rbac_group_id: string`
115- `limit: optional number`
132116
133 ID of the RBAC Group.
117 Number of items to return per page.
134118
119 Defaults to `20`. Ranges from `1` to `1000`.
120
121 default: 20, minimum: 1, maximum: 1000
122
123- `page: optional string`
124
125 Optionally set to the `next_page` token from the previous response.
126
135127### Returns
136128
137- `BetaRBACGroup object`
129- `data: array of BetaRBACGroup`
138130
139131 - `type: "rbac_group"`
140132
from line 174
182174
183175 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
184176
177- `has_more: boolean`
178
179 Indicates if there are more results in the requested page direction.
180
181- `next_page: string or null`
182
183 Token to provide in as `page` in the subsequent request to retrieve the next page of data.
184
185185### Example
186186
187187```bash
188curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
188curl https://api.anthropic.com/v1/organizations/rbac_groups \
189189 -H 'anthropic-version: 2023-06-01' \
190190 -H "X-Api-Key: $ANTHROPIC_API_KEY"
191191```
from line 194
194194
195195```json
196196{
197 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
198 "created_at": "2024-10-30T23:58:27.427722Z",
199 "name": "Engineering",
200 "role_ids": [
201 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
197 "data": [
198 {
199 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
200 "created_at": "2024-10-30T23:58:27.427722Z",
201 "name": "Engineering",
202 "role_ids": [
203 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
204 ],
205 "roles": [
206 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
207 ],
208 "source_type": "direct",
209 "type": "rbac_group",
210 "updated_at": "2024-10-30T23:58:27.427722Z"
211 }
202212 ],
203 "roles": [
204 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
205 ],
206 "source_type": "direct",
207 "type": "rbac_group",
208 "updated_at": "2024-10-30T23:58:27.427722Z"
213 "has_more": false,
214 "next_page": "eyJjdXJzb3IiOiAicmJhY19ncm91cF8wMSJ9"
209215}
210216```
211217
212## Create RBAC Group
218## Get RBAC Group
213219
214**POST** `/v1/organizations/rbac_groups`
220**GET** `/v1/organizations/rbac_groups/{rbac_group_id}`
215221
216Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`.
222Retrieve an RBAC Group by ID.
217223
218224The RBAC Groups API is available to Claude Enterprise organizations only.
219225
220### Body parameters
226### Path parameters
221227
222- `name: string`
228- `rbac_group_id: string`
223229
224 Name of the RBAC Group. Not uniqueness-enforced.
230 ID of the RBAC Group.
225231
226 minLength: 1, maxLength: 255
227
228232### Returns
229233
230234- `BetaRBACGroup object`
from line 282
278282### Example
279283
280284```bash
281curl https://api.anthropic.com/v1/organizations/rbac_groups \
282 -H 'Content-Type: application/json' \
285curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
283286 -H 'anthropic-version: 2023-06-01' \
284 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
285 -d '{
286 "name": "Engineering"
287 }'
287 -H "X-Api-Key: $ANTHROPIC_API_KEY"
288288```
289289
290290#### Response (200)
from line 425
425425
426426### Returns
427427
428- `BetaRBACGroupDeleted object`
428- `type: "rbac_group_deleted"`
429429
430 - `type: "rbac_group_deleted"`
430 Deleted object type.
431431
432 Deleted object type.
432 For RBAC Groups, this is always `"rbac_group_deleted"`.
433433
434 For RBAC Groups, this is always `"rbac_group_deleted"`.
434 default: rbac_group_deleted
435435
436 default: rbac_group_deleted
436- `id: string`
437437
438 - `id: string`
438 ID of the RBAC Group.
439439
440 ID of the RBAC Group.
441
442440### Example
443441
444442```bash
from line 507
509507
510508 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
511509
512### Beta RBAC Group Deleted
510### RBAC Group Delete Response
513511
514- `BetaRBACGroupDeleted object`
512- `RBACGroupDeleteResponse object`
515513
516514 - `type: "rbac_group_deleted"`
517515
from line 725
727725
728726#### Returns
729727
730- `BetaRBACGroupMemberDeleted object`
728- `type: "rbac_group_member_deleted"`
731729
732 - `type: "rbac_group_member_deleted"`
730 Deleted object type. For RBAC Group Members, this is always `"rbac_group_member_deleted"`.
733731
734 Deleted object type. For RBAC Group Members, this is always `"rbac_group_member_deleted"`.
732 default: rbac_group_member_deleted
735733
736 default: rbac_group_member_deleted
734- `rbac_group_id: string`
737735
738 - `rbac_group_id: string`
736 ID of the RBAC Group.
739737
740 ID of the RBAC Group.
738- `user_id: string`
741739
742 - `user_id: string`
740 ID of the User.
743741
744 ID of the User.
742- `group_id: string`
745743
746 - `group_id: string`
744 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
747745
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`.
746 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
751747
752748#### Example
753749
No line in this hunk matches that.