Skip to main content

Resource Quota

Query per-account resource limits and current consumption.

Resource base path: /restapi/resource-quota

MethodPathDescription
GET/restapi/resource-quota/get-resource-limitResource Quota Limit List
note

apikey and secretkey are required HTTP headers on every request and are omitted from the parameter tables below. See Authentication.


Resource Quota Limit List

Resource Quota Limit List.

GET /restapi/resource-quota/get-resource-limit

Parameters

ParameterInTypeRequiredDescription
domainUuidquerystringNo

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/resource-quota/get-resource-limit" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"listResourceQuotaResponse": [
{
"unitType": "string",
"quotaType": "string",
"availableLimit": 1,
"domainUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"usedLimit": 1,
"maximumLimit": 1
}
],
"count": 1
}