List RBAC Role Permissions

Changed on

List the permissions an RBAC Role grants.

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

get/v1/organizations/rbac_roles/{rbac_role_id}/permissions

Request

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

Path parameters

rbac_role_idstring required

ID of the RBAC Role.

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": [
    {
      "action": "use",
      "resource": {
        "organization_id": "3c4f5e6d-7a8b-49c0-9d1e-2f3a4b5c6d7e"
      }
    }
  ],
  "has_more": true,
  "next_page": "eyJjdXJzb3IiOiAicmJhY19yb2xlXzAxIn0"
}

Changes