The whole hunk
from line 5, old and new numbered
/
lines
from line 5
55
66# Update RBAC Group
77
8**POST** `/v1/organizations/rbac_groups/{group_id}`
8**POST** `/v1/organizations/rbac_groups/{rbac_group_id}`
99
1010Update 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.
1111
from line 13
1313
1414## Path parameters
1515
16- `group_id: string`
16- `rbac_group_id: string`
1717
1818 ID of the RBAC Group.
1919
from line 51
5151
5252 Name of the RBAC Group. Not uniqueness-enforced.
5353
54 - `roles: array of string or null`
54 - `role_ids: array of string or null`
5555
5656 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.
5757
from line 69
6969
7070 format: date-time
7171
72 - `roles: array of string or null`
73
74 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
75
76 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
77
7278## Example
7379
7480```bash
75curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
81curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
7682 -H 'Content-Type: application/json' \
7783 -H 'anthropic-version: 2023-06-01' \
7884 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
from line 94
8894 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
8995 "created_at": "2024-10-30T23:58:27.427722Z",
9096 "name": "Engineering",
97 "role_ids": [
98 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
99 ],
91100 "roles": [
92101 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
93102 ],