메인 콘텐츠로 건너뛰기
GET
/
v1
/
public
/
accounts
/
{account_id}
/
auth
/
role-assignments
계정 역할 할당 나열
curl --request GET \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/auth/role-assignments \
  --header 'Authorization: Bearer <token>'
[
  {
    "expanded_capability_keys": [
      "<string>"
    ],
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "resource_type": "<string>",
    "role_key": "<string>",
    "subject_id": "<string>",
    "subject_type": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "revoked_at": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

인증

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