Autional Autional
API Reference GitHub autional.com →

GET /admin/tenants/{tenant_id}/quota

Get resource quota information for a specified tenant, including user limits, storage limits, etc.

Tenant Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Tenant ID

Responses

StatusDescriptionSchema
200Resource quota detailsdto.ResourceQuotaDetailResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticatedgitee_com_linmes_authms_base_dto.SimpleResponse
403Insufficient permissionsgitee_com_linmes_authms_base_dto.SimpleResponse
404Resource not foundgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.ResourceQuotaDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.ResourceQuotaResponse No
message string No
timestamp string No

dto.ResourceQuotaResponse

Tenant resource quota information

FieldTypeRequiredExampleConstraintsDescription
active_users integer No 45 Active user count
api_calls_per_month integer No 10000 API call limit
storage_gb integer No 50 Storage limit
tenant_id string No tnt_abc123 Tenant ID
used_api_calls integer No 5230 Used API calls
used_storage_gb number No 23.5 Used storage
users_limit integer No 100 User limit

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No