List RBAC Roles

List RBAC Roles in the organization.

The RBAC Roles API is available to Claude Enterprise organizations only.

get/v1/organizations/rbac_roles?beta=true

Query parameters

limitinteger

Number of items to return per page.

Defaults to 20. Ranges from 1 to 1000.

Number of items to return per page.

Defaults to 20. Ranges from 1 to 1000.

pagestring nullable

Optionally set to the next_page token from the previous response.

Example:eyJjdXJzb3IiOiAicmJhY19yb2xlXzAxIn0

Optionally set to the next_page token from the previous response.

Headers

x-api-keystring nullable

Your unique Admin API key for authentication.

This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console.

Response

Successful Response

has_moreboolean required

Indicates whether there are more results beyond this page.

next_pagestring nullable required

Opaque cursor for the next page. Pass as the page parameter on the next request.

Example response

{
  "data": [
    {
      "created_at": "2024-10-30T23:58:27.427722Z",
      "id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
      "name": "Project Editor",
      "updated_at": "2024-10-30T23:58:27.427722Z"
    }
  ],
  "has_more": true,
  "next_page": "eyJjdXJzb3IiOiAicmJhY19yb2xlXzAxIn0"
}

Changes