Claude Platform Docs

RBAC 角色

列出 RBAC 角色
RbacRoleListPage Beta.Organization.RbacRoles.List(parameters, cancellationToken = default)
GET/v1/organizations/rbac_roles

列出组织中的 RBAC 角色。

获取 RBAC 角色
BetaRbacRole Beta.Organization.RbacRoles.Retrieve(parameters, cancellationToken = default)
GET/v1/organizations/rbac_roles/{rbac_role_id}

按 ID 检索 RBAC 角色。

Models
class BetaRbacRole { Type = "rbac_role"; ID; CreatedAt; /* 2 more */ }
JsonElement Type = "rbac_role"

Object type.

For RBAC Roles, this is always "rbac_role".

required string ID

ID of the RBAC Role.

required DateTimeOffset CreatedAt

RFC 3339 datetime string indicating when the RBAC Role was created.

formatdate-time
required string DisplayName

Name of the RBAC Role. For a role created by Anthropic, this name can differ from the label claude.ai shows, and Anthropic may change the name. To keep a lasting reference to a role, store its id.

required DateTimeOffset UpdatedAt

RFC 3339 datetime string indicating when the RBAC Role was last updated.

formatdate-time

RBAC 角色权限

列出 RBAC 角色权限
PermissionListPage Beta.Organization.RbacRoles.Permissions.List(parameters, cancellationToken = default)
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

列出 RBAC 角色授予的权限。