Claude Platform Docs

RBAC 角色

列出 RBAC 角色
$ ant beta:organization:rbac-roles list
GET/v1/organizations/rbac_roles

列出組織中的 RBAC 角色。

取得 RBAC 角色
$ ant beta:organization:rbac-roles retrieve
GET/v1/organizations/rbac_roles/{rbac_role_id}

依 ID 擷取 RBAC 角色。

Models
beta_rbac_role: object{ type: "rbac_role", id, created_at, 3 more }
type: "rbac_role"

Object type.

For RBAC Roles, this is always "rbac_role".

id: string

ID of the RBAC Role.

created_at: string

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

formatdate-time
display_name: string

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.

updated_at: string

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

formatdate-time
name: string⁠Deprecated

Deprecated: use display_name instead. Name of the RBAC Role; always the same value as display_name.

Use `display_name` instead; `name` always has the same value.

RBAC 角色權限

列出 RBAC 角色權限
$ ant beta:organization:rbac-roles:permissions list
GET/v1/organizations/rbac_roles/{rbac_role_id}/permissions

列出 RBAC 角色所授予的權限。