Claude Platform Docs

RBAC Roles

List RBAC Roles
RbacRoleListPage beta().organization().rbacRoles().list(params = RbacRoleListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/rbac_roles

List RBAC Roles in the organization.

Get RBAC Role
BetaRbacRole beta().organization().rbacRoles().retrieve(params = RbacRoleRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/rbac_roles/{rbac_role_id}

Retrieve an RBAC Role by ID.

Models
class BetaRbacRole { type = "rbac_role"; id; createdAt; /* 3 more */ }
class BetaRbacRoleSource: union
class BetaRbacRoleSourceBuiltIn { type = "built_in"; }
JsonValue type = "built_in"

Anthropic provisions the RBAC Role, and the organization's administrators cannot change or delete it.

class BetaRbacRoleSourceCustom { type = "custom"; }
JsonValue type = "custom"

The organization's administrators can change and delete the RBAC Role.

class BetaRbacRoleSourceBuiltIn { type = "built_in"; }
JsonValue type = "built_in"

Anthropic provisions the RBAC Role, and the organization's administrators cannot change or delete it.

class BetaRbacRoleSourceCustom { type = "custom"; }
JsonValue type = "custom"

The organization's administrators can change and delete the RBAC Role.

RBAC RolesPermissions

List RBAC Role Permissions
PermissionListPage beta().organization().rbacRoles().permissions().list(params = PermissionListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

List the permissions an RBAC Role grants.