List RBAC Roles
api/admin/rbac_roles/list
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_roles/list Changed · +15 / -14 lines
# List RBAC Roles ## Query parameters ## Headers ## Returns ## Example ### Response (200) ## List RBAC Roles ### Query Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: List RBAC Roles -url: https://platform.claude.com/docs/en/api/admin/rbac_roles/list ---- +# List RBAC Roles -## List RBAC Roles +**GET** `/v1/organizations/rbac_roles` -**get** `/v1/organizations/rbac_roles` - List RBAC Roles in the organization. The RBAC Roles 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. -### Query Parameters +## Query parameters - `limit: optional number`
Defaults to `20`. Ranges from `1` to `1000`. + default: 20, maximum: 1000, minimum: 1 + - `page: optional string` Optionally set to the `next_page` token from the previous response. -### 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. -### Returns +## Returns - `data: array of RbacRole`
RFC 3339 datetime string indicating when the RBAC Role was created. + format: date-time + - `name: string` Name of the RBAC Role.
For RBAC Roles, this is always `"rbac_role"`. - - `"rbac_role"` + default: rbac_role - `updated_at: string` RFC 3339 datetime string indicating when the RBAC Role was last updated. + format: date-time + - `has_more: boolean` Indicates whether there are more results beyond this page.
Opaque cursor for the next page. Pass as the `page` parameter on the next request. -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/organizations/rbac_roles \ -H 'anthropic-version: 2023-06-01' \ -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" ``` -#### Response +### Response (200) ```json {