Skip to main content
POST
accountautorisatie toekennen

Autorisaties

Authorization
string
header
vereist

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

Padparameters

account_id
string<uuid>
vereist

Body

application/json

Schema voor granting een new capability-based authorization.

grant_kind
enum<string>
vereist

toekenning kind

Beschikbare opties:
capability,
account_owner,
super_admin
subject_id
string
vereist

Gebruikers- of groeps-ID

Minimum string length: 1
subject_type
enum<string>
vereist

Onderwerptype: gebruiker of groep

Beschikbare opties:
user,
group,
service_account
capability_key
string | null

mogelijkheid key for capability grants

resource_id
string<uuid> | null

Scoped resource-ID

resource_type
enum<string> | null

Bereikt resourcetype

Beschikbare opties:
client,
account,
workspace,
domain,
dns_record,
mailbox,
redirect,
forwarding,
credential,
tenant,
route,
proxy

Respons

grant_kind
string
vereist
id
string<uuid>
vereist
subject_id
string
vereist
subject_type
string
vereist
capability_key
string | null
created_at
string<date-time> | null
resource_id
string<uuid> | null
resource_type
string | null
revoked_at
string<date-time> | null