Claude Platform Docs

List RBAC Role Permissions

PermissionListPage Beta.Organization.RbacRoles.Permissions.List(parameters, cancellationToken = default)
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

List the permissions an RBAC Role grants.

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

Parameters
PermissionListParams parameters
required string rbacRoleID⁠Path parameter

ID of the RBAC Role.

long limit⁠Query parameter

Number of items to return per page.

Defaults to 20. Ranges from 1 to 1000.

minimum1
maximum1000
string? page⁠Query parameter

Optionally set to the next_page token from the previous response.

Returns
class BetaRbacRolePermission { Type = "rbac_role_permission"; Action; Resource; }
List RBAC Role Permissions
using System;
using Anthropic.Models.Beta.Organization.RbacRoles.Permissions;

PermissionListParams parameters = new() { RbacRoleID = "rbac_role_id" };

var page = await client.Beta.Organization.RbacRoles.Permissions.List(parameters);
await foreach (var item in page.Paginate())
{
    Console.WriteLine(item);
}
Returns Examples
Response 200
{
  "data": [
    {
      "action": "use",
      "resource": {
        "organization_id": "3c4f5e6d-7a8b-49c0-9d1e-2f3a4b5c6d7e",
        "type": "organization"
      },
      "type": "rbac_role_permission"
    }
  ],
  "has_more": true,
  "next_page": "eyJjdXJzb3IiOiAicmJhY19yb2xlXzAxIn0"
}