Repository Public
1---2title: Add RBAC Group Member3url: https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/members/create4---56# Add RBAC Group Member78**POST** `/v1/organizations/rbac_groups/{group_id}/members`910Add 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.1112The RBAC Groups API is available to Claude Enterprise organizations only.1314## Path parameters1516- `group_id: string`1718 ID of the RBAC Group.1920## Body parameters2122- `user_id: string`2324 ID of the User.2526## Returns2728- `BetaRBACGroupMember object`2930 - `type: "rbac_group_member"`3132 Object type.3334 For RBAC Group Members, this is always `"rbac_group_member"`.3536 default: rbac_group_member3738 - `created_at: string`3940 RFC 3339 timestamp of when the User was added to the RBAC Group.4142 format: date-time4344 - `email: string`4546 Email of the User.4748 - `group_id: string`4950 ID of the RBAC Group.5152 - `user_id: string`5354 ID of the User.5556## Example5758```bash59curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID/members \60 -H 'Content-Type: application/json' \61 -H 'anthropic-version: 2023-06-01' \62 -H "X-Api-Key: $ANTHROPIC_API_KEY" \63 -d '{64 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"65 }'66```6768### Response (200)6970```json71{72 "created_at": "2024-10-30T23:58:27.427722Z",73 "email": "user@emaildomain.com",74 "group_id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",75 "type": "rbac_group_member",76 "user_id": "user_01WCz1FkmYMm4gnmykNKUu3Q"77}78```79