List RBAC Roles in the organization.

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

get/v1/organizations/rbac_roles

Request

  • Base URL
    https://api.anthropic.com
  • Auth
    none declared

Query parameters

limitinteger

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

Headers

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

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",
      "display_name": "Project Editor",
      "id": "rbac_role_016J8xVtKpDq3Wy9ZmN2hR4s",
      "updated_at": "2024-10-30T23:58:27.427722Z"
    }
  ],
  "has_more": true,
  "next_page": "eyJjdXJzb3IiOiAicmJhY19yb2xlXzAxIn0"
}

Changes