Create RBAC Group
api/admin/rbac_groups/create
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/admin/rbac_groups/create Changed · +16 / -15 lines
# Create RBAC Group ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Create RBAC Group ### Header Parameters ### Body Parameters ### Returns ### Example #### Response
---- -title: Create RBAC Group -url: https://platform.claude.com/docs/en/api/admin/rbac_groups/create ---- +# Create RBAC Group -## Create RBAC Group +**POST** `/v1/organizations/rbac_groups` -**post** `/v1/organizations/rbac_groups` - Create an RBAC Group in the Claude Enterprise tenant. Groups created via the API have source type `"direct"`. The RBAC Groups API is in beta and available to Claude Enterprise organizations only. Requests must send the `ce-user-management-2026-07-13` value in the `anthropic-beta` header. -### Header Parameters +## Headers - `"anthropic-beta": optional array of string`
To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta. -### Body Parameters +## Body parameters - `name: string` Name of the RBAC Group. Not uniqueness-enforced. -### Returns + maxLength: 255, minLength: 1 -- `RbacGroup object { id, created_at, name, 4 more }` +## Returns +- `RbacGroup object` + - `id: string` ID of the RBAC Group.
RFC 3339 timestamp of when the RBAC Group was created. + format: date-time + - `name: string` Name of the RBAC Group. Not uniqueness-enforced.
For RBAC Groups, this is always `"rbac_group"`. - - `"rbac_group"` + default: rbac_group - `updated_at: string` RFC 3339 timestamp of when the RBAC Group was last updated. -### Example + format: date-time -```http +## Example + +```bash curl https://api.anthropic.com/v1/organizations/rbac_groups \ -H 'Content-Type: application/json' \ -H 'anthropic-version: 2023-06-01' \
}' ``` -#### Response +### Response (200) ```json {