계정 권한 부여 생성
curl --request POST \
--url https://api.hybridbox.io/v1/public/accounts/{account_id}/auth/authorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"subject_id": "<string>",
"capability_key": "<string>",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"grant_kind": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject_id": "<string>",
"subject_type": "<string>",
"capability_key": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource_type": "<string>",
"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.
Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.
새 기능 기반 권한을 부여하기 위한 스키마입니다.
부여 종류
capability, account_owner, super_admin 사용자 또는 그룹 식별자
1주체 유형: 사용자 또는 그룹
user, group, service_account 기능 부여에 사용할 기능 키
범위가 지정된 리소스 식별자
범위가 지정된 리소스 유형
client, account, workspace, domain, dns_record, mailbox, redirect, forwarding, credential, tenant, route, proxy 이 페이지가 도움이 되었나요?
curl --request POST \
--url https://api.hybridbox.io/v1/public/accounts/{account_id}/auth/authorizations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"subject_id": "<string>",
"capability_key": "<string>",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"grant_kind": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subject_id": "<string>",
"subject_type": "<string>",
"capability_key": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resource_type": "<string>",
"revoked_at": "2023-11-07T05:31:56Z"
}