Claude Platform Docs

RBAC 角色

列出 RBAC 角色
RbacRoleListPage beta().organization().rbacRoles().list(params = RbacRoleListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/rbac_roles

列出组织中的 RBAC 角色。

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

按 ID 检索 RBAC 角色。

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 角色权限

列出 RBAC 角色权限
PermissionListPage beta().organization().rbacRoles().permissions().list(params = PermissionListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

列出 RBAC 角色授予的权限。