authz
issue, inspect, and revoke permission grants
1 operations — issue, inspect, and revoke permission grants
GET /api/v1/tenants/{tenantID}/me/grants
authorizationGetApiV1TenantsByTenantIDMeGrants
자기 user_id 로 발급된 active grant 들을 시간 역순으로 조회.
- 호출 권한: tenant_member
| Language | Call |
|---|---|
| node | sdk.gateway(…) — resource model — see the package's TypeScript definitions for arguments and return types |
| go | client.Authz().AuthorizationGetApiV1TenantsByTenantIDMeGrants(ctx, axhub.OperationParams{PathParams: …, Query: …, Body: …}) |
| java | client.authz().authorizationGetApiV1TenantsByTenantIDMeGrants(pathParams, query, body) — async: authorizationGetApiV1TenantsByTenantIDMeGrantsAsync(…) → CompletableFuture |
| kotlin | client.authz.authorizationGetApiV1TenantsByTenantIDMeGrants(pathParams, query, body) — suspend |
| python | client.authz.authorization_get_api_v1_tenants_by_tenant_id_me_grants(path_params=…, query=…, body=…) — AsyncAxHubClient awaits the same name |
| ruby | client.authz.authorization_get_api_v1_tenants_by_tenant_id_me_grants(path_params: …, query: …, body: …) |
| generic | request("authorizationGetApiV1TenantsByTenantIDMeGrants", pathParams, query, body) |
Path parameters — pass via pathParams
| Name | Type | Description |
|---|---|---|
tenantID required | string | 테넌트 UUID |
Response — 200 · OK
Array response → the SDK wraps it as {"value": [...]}. Element fields:
| Name | Type | Description |
|---|---|---|
connectorId (wire: connector_id) | string | |
createdAt (wire: created_at) | string | |
expiresAt (wire: expires_at) | string | |
grantedAt (wire: granted_at) | string | |
grantedBy (wire: granted_by) | string | |
id | string | |
policyIds (wire: policy_ids) | array<string> | |
presetId (wire: preset_id) | string | |
reason | string | |
revokedAt (wire: revoked_at) | string | |
revokedBy (wire: revoked_by) | string | |
source | string | |
status | string | Status 는 active / revoked / expired. |
subjectId (wire: subject_id) | string | |
subjectKind (wire: subject_kind) | string | |
tenantId (wire: tenant_id) | string | |
updatedAt (wire: updated_at) | string |
Error statuses: 401 403 500 — Error handling