Repository Public
1---2title: Update RBAC Group3url: https://platform.claude.com/docs/en/api/beta/organization/rbac_groups/update4---56# Update RBAC Group78**POST** `/v1/organizations/rbac_groups/{group_id}`910Update 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.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- `name: optional string or null`2324 Name of the RBAC Group. Not uniqueness-enforced.2526 maxLength: 255, minLength: 12728## Returns2930- `BetaRBACGroup object`3132 - `type: "rbac_group"`3334 Object type.3536 For RBAC Groups, this is always `"rbac_group"`.3738 default: rbac_group3940 - `id: string`4142 ID of the RBAC Group.4344 - `created_at: string`4546 RFC 3339 timestamp of when the RBAC Group was created.4748 format: date-time4950 - `name: string`5152 Name of the RBAC Group. Not uniqueness-enforced.5354 - `roles: array of string or null`5556 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.5758 - `source_type: "direct" or "scim"`5960 How the RBAC Group was created: `"direct"` for groups created directly (for example, in the organization's admin settings), `"scim"` for groups provisioned by the identity provider.6162 - `"direct"`6364 - `"scim"`6566 - `updated_at: string`6768 RFC 3339 timestamp of when the RBAC Group was last updated.6970 format: date-time7172## Example7374```bash75curl https://api.anthropic.com/v1/organizations/rbac_groups/$GROUP_ID \76 -H 'Content-Type: application/json' \77 -H 'anthropic-version: 2023-06-01' \78 -H "X-Api-Key: $ANTHROPIC_API_KEY" \79 -d '{80 "name": "Engineering"81 }'82```8384### Response (200)8586```json87{88 "id": "rbac_group_012rppKaSVsmTo6NqRDXQXNF",89 "created_at": "2024-10-30T23:58:27.427722Z",90 "name": "Engineering",91 "roles": [92 "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s"93 ],94 "source_type": "direct",95 "type": "rbac_group",96 "updated_at": "2024-10-30T23:58:27.427722Z"97}98```99