Quotas
Quotas is the resource representing tenant quotas originating from the license.
Endpoints
Skip to sectionGET | /v1/quotas |
GET | /v1/quotas/{id} |
Returns all quota items for the tenant (provided in JWT).
Facts GET /v1/quotas
Rate limit required | Tier 1 (1000 requests per minute) |
Query Parameters GET /v1/quotas
reportUsage boolean | The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (only limits returned). |
Responses GET /v1/quotas
200 application/json | OK Response |
401 application/json | Unauthorized |
500 application/json | Internal Server Error |
GET/v1/quotas
curl "https://your-tenant.us.qlikcloud.com/api/v1/quotas" \
-H "Authorization: Bearer <API-key>"
Response GET /v1/quotas
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"unit": "string",
"quota": 0,
"usage": 0,
"warningThresholds": [
0.9
]
}
}
]
}
Returns a specific quota item for the tenant (provided in JWT).
Facts GET /v1/quotas/{id}
Rate limit required | Tier 1 (1000 requests per minute) |
Path Parameters GET /v1/quotas/{id}
id required string | The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces". |
Query Parameters GET /v1/quotas/{id}
reportUsage boolean | The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (usage not included). |
Responses GET /v1/quotas/{id}
200 application/json | OK Response |
401 application/json | Unauthorized |
404 application/json | Not Found |
500 application/json | Internal Server Error |
GET/v1/quotas/{id}
curl "https://your-tenant.us.qlikcloud.com/api/v1/quotas/{id}" \
-H "Authorization: Bearer <API-key>"
Response GET /v1/quotas/{id}
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"unit": "string",
"quota": 0,
"usage": 0,
"warningThresholds": [
0.9
]
}
}
]
}
Error
objectA specific error.
Properties
code required string | The error code. |
title required string | Summary of the problem. |
ErrorResponse
objectProperties
errors | No description |
GetQuotaByIdResult
objectResult containing an array with a single quota item.
Properties
data required | Quota item. |
GetQuotasResult
objectResult containing an array of quota items.
Properties
data required | Array of quota items. |
Quota
objectOne single quota with attributes.
Properties
id required string | The unique identifier of the quota item. For example, "app_mem_size", "app_upload_disk_size", or "shared_spaces". |
type required string | The resource type of the quota item. Always equal to "quotas". |
attributes required | The attributes of the quota. |