Get the billing tenant status.
GET/api/v1/company/billing-statusbilling:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Whether the caller is a super-admin of the company's billing tenant, and the tenant's number and name. Billing reports are only available to a tenant super-admin.
| スコープ | billing:read (機密性の高いスコープ) |
| 非同期 | いいえ |
| MCP ツール | get_company_billing_status |
| Portal の権限 | view_license_billing |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json BillingStatus |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
BillingStatus
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
is_tenant_admin | boolean | 必須 | True when the caller is a super-admin of the billing tenant. Billing reports need it. |
tenant_key | string または null | 必須 | The billing tenant's number, as text; null when the caller is not an admin of one. |
tenant_name | string または null | 必須 |