The whole hunk
from line 5, old and new numbered
/
lines
from line 5
55
66# Get RBAC Group
77
8**GET** `/v1/organizations/rbac_groups/{group_id}`
8**GET** `/v1/organizations/rbac_groups/{rbac_group_id}`
99
1010Retrieve an RBAC Group by ID.
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 43
4343
4444 Name of the RBAC Group. Not uniqueness-enforced.
4545
46 - `roles: array of string or null`
46 - `role_ids: array of string or null`
4747
4848 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.
4949
from line 61
6161
6262 format: date-time
6363
64 - `roles: array of string or null`
65
66 **Deprecated**: Use `role_ids` instead; `roles` always has the same value.
67
68 Deprecated: use `role_ids` instead. IDs of the RBAC Roles attached to this RBAC Group; always the same value as `role_ids`, `null` included.
69
6470## Example
6571
6672```bash
67curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \
73curl https://api.anthropic.com/v1/organizations/rbac_groups/$RBAC_GROUP_ID \
6874 -H 'anthropic-version: 2023-06-01' \
6975 -H "X-Api-Key: $ANTHROPIC_API_KEY"
7076```
from line 82
7682 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",
7783 "created_at": "2024-10-30T23:58:27.427722Z",
7884 "name": "Engineering",
85 "role_ids": [
86 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
87 ],
7988 "roles": [
8089 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"
8190 ],