The whole hunk
from line 79, old and new numbered
/
lines
from line 79
7979```bash
8080curl https://api.anthropic.com/v1/organizations/rbac_groups \
8181 -H 'anthropic-version: 2023-06-01' \
82 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
82 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
8383```
8484
8585#### Response (200)
from line 167
167167```bash
168168curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
169169 -H 'anthropic-version: 2023-06-01' \
170 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
170 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
171171```
172172
173173#### Response (200)
from line 252
252252curl https://api.anthropic.com/v1/organizations/rbac_groups \
253253 -H 'Content-Type: application/json' \
254254 -H 'anthropic-version: 2023-06-01' \
255 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
255 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
256256 -d '{
257257 "name": "Engineering"
258258 }'
from line 278
278278
279279**POST** `/v1/organizations/rbac_groups/{group_id}`
280280
281Update an RBAC Group's name. Groups provisioned by an identity provider (source type `"scim"`) cannot be modified via the API.
281Update 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.
282282
283283The RBAC Groups API is available to Claude Enterprise organizations only.
284284
from line 346
346346curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
347347 -H 'Content-Type: application/json' \
348348 -H 'anthropic-version: 2023-06-01' \
349 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
349 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
350350 -d '{
351351 "name": "Engineering"
352352 }'
from line 372
372372
373373**DELETE** `/v1/organizations/rbac_groups/{group_id}`
374374
375Delete an RBAC Group. Groups provisioned by an identity provider (source type `"scim"`) cannot be deleted via the API.
375Delete 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.
376376
377377The RBAC Groups API is available to Claude Enterprise organizations only.
378378
from line 404
404404curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
405405 -X DELETE \
406406 -H 'anthropic-version: 2023-06-01' \
407 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
407 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
408408```
409409
410410#### Response (200)
from line 551
551551```bash
552552curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members \
553553 -H 'anthropic-version: 2023-06-01' \
554 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
554 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
555555```
556556
557557##### Response (200)
from line 576
576576
577577**POST** `/v1/organizations/rbac_groups/{group_id}/members`
578578
579Add a User to an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via the API.
579Add 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.
580580
581581The RBAC Groups API is available to Claude Enterprise organizations only.
582582
from line 628
628628curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members \
629629 -H 'Content-Type: application/json' \
630630 -H 'anthropic-version: 2023-06-01' \
631 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
631 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
632632 -d '{
633633 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"
634634 }'
from line 650
650650
651651**DELETE** `/v1/organizations/rbac_groups/{group_id}/members/{user_id}`
652652
653Remove a User from an RBAC Group. Membership of groups provisioned by an identity provider (source type `"scim"`) cannot be modified via the API.
653Remove 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.
654654
655655The RBAC Groups API is available to Claude Enterprise organizations only.
656656
from line 688
688688curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members/$USER_ID \
689689 -X DELETE \
690690 -H 'anthropic-version: 2023-06-01' \
691 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
691 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
692692```
693693
694694##### Response (200)