Members changedapi/beta/organization/rbac_groups/members
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+77added
Lines−44removed
From line
7
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 7, old and new numbered
/
from line 7
77
88## List RBAC Group Members
99
10**GET** `/v1/organizations/rbac_groups/{group_id}/members`
10**GET** `/v1/organizations/rbac_groups/{rbac_group_id}/members`
1111
1212List members of an RBAC Group.
1313
from line 15
1515
1616### Path parameters
1717
18- `group_id: string`
18- `rbac_group_id: string`
1919
2020 ID of the RBAC Group.
2121
from line 55
5555
5656 Email of the User.
5757
58 - `group_id: string`
58 - `rbac_group_id: string`
5959
6060 ID of the RBAC Group.
6161
from line 63
6363
6464 ID of the User.
6565
66 - `group_id: string`
67
68 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
69
70 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
71
6672- `has_more: boolean`
6773
6874 Indicates if there are more results in the requested page direction.
from line 80
7480### Example
7581
7682```bash
77curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members \
83curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
7884 -H 'anthropic-version: 2023-06-01' \
7985 -H "X-Api-Key: $ANTHROPIC_API_KEY"
8086```
from line 94
8894 "created_at": "2024-10-30T23:58:27.427722Z",
9096 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
97 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
9198 "type": "rbac_group_member",
9299 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
93100 }
from line 106
99106
100107## Add RBAC Group Member
101108
102**POST** `/v1/organizations/rbac_groups/{group_id}/members`
109**POST** `/v1/organizations/rbac_groups/{rbac_group_id}/members`
103110
104111Add 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.
105112
from line 114
107114
108115### Path parameters
109116
110- `group_id: string`
117- `rbac_group_id: string`
111118
112119 ID of the RBAC Group.
113120
from line 146
139146
140147 Email of the User.
141148
142 - `group_id: string`
149 - `rbac_group_id: string`
143150
144151 ID of the RBAC Group.
145152
from line 154
147154
148155 ID of the User.
149156
157 - `group_id: string`
158
159 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
160
161 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
162
150163### Example
151164
152165```bash
153curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members \
166curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members \
154167 -H 'Content-Type: application/json' \
155168 -H 'anthropic-version: 2023-06-01' \
156169 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
from line 179
166179 "created_at": "2024-10-30T23:58:27.427722Z",
168181 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
182 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
169183 "type": "rbac_group_member",
170184 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
171185}
from line 187
173187
174188## Remove RBAC Group Member
175189
176**DELETE** `/v1/organizations/rbac_groups/{group_id}/members/{user_id}`
190**DELETE** `/v1/organizations/rbac_groups/{rbac_group_id}/members/{user_id}`
177191
178192Remove 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.
179193
from line 195
181195
182196### Path parameters
183197
184- `group_id: string`
198- `rbac_group_id: string`
185199
186200 ID of the RBAC Group.
187201
from line 213
199213
200214 default: rbac_group_member_deleted
201215
202 - `group_id: string`
216 - `rbac_group_id: string`
203217
204218 ID of the RBAC Group.
205219
from line 221
207221
208222 ID of the User.
209223
224 - `group_id: string`
225
226 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
227
228 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
229
210230### Example
211231
212232```bash
213curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members/$USER_ID \
233curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID/members/$USER_ID \
214234 -X DELETE \
215235 -H 'anthropic-version: 2023-06-01' \
216236 -H "X-Api-Key: $ANTHROPIC_API_KEY"
from line 241
221241```json
222242{
223243 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
244 "rbac_group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
224245 "type": "rbac_group_member_deleted",
225246 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
226247}
from line 271
250271
251272 Email of the User.
252273
253 - `group_id: string`
274 - `rbac_group_id: string`
254275
255276 ID of the RBAC Group.
256277
from line 279
258279
259280 ID of the User.
260281
282 - `group_id: string`
283
284 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
285
286 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
287
261288### Beta RBAC Group Member Deleted
262289
263290- `BetaRBACGroupMemberDeleted object`
from line 295
268295
269296 default: rbac_group_member_deleted
270297
271 - `group_id: string`
298 - `rbac_group_id: string`
272299
273300 ID of the RBAC Group.
274301
from line 302
275302 - `user_id: string`
276303
277304 ID of the User.
305
306 - `group_id: string`
307
308 **Deprecated**: Use `rbac_group_id` instead; `group_id` always has the same value.
309
310 Deprecated: use `rbac_group_id` instead. ID of the RBAC Group; always the same value as `rbac_group_id`.
278311
No line in this hunk matches that.