Skip to main content
GET
列出帐户角色分配

授权

Authorization
string
header
必填

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

路径参数

account_id
string<uuid>
必填

查询参数

subject_type
enum<string> | null

授权主体类型。

可用选项:
user,
group,
service_account
subject_id
string | null
role_key
enum<string> | null

稳定的可重用角色标识符。

可用选项:
viewer,
editor,
domain_manager,
manager,
dns_manager,
ip_manager,
billing_viewer,
billing_admin,
credential_manager
include_revoked
boolean
默认值:false

响应

expanded_capability_keys
string[]
必填
id
string<uuid>
必填
resource_id
string<uuid>
必填
resource_type
string
必填
role_key
string
必填
subject_id
string
必填
subject_type
string
必填
created_at
string<date-time> | null
revoked_at
string<date-time> | null