Get Domain quotas
Description
Get quotas for specified domain
Request
GET /v1/domains/:domain/quotas
Response
Successful response contains the following JSON formated body:
{
quotas: {
name: string,
value: number,
default: number,
description: string
} []
}
Response Status codes:
- 200 on success
Request headers
This request must have the following headers:
Authorization: bearer <ApiKey>X-Nabto-Organization: <organizationId>
Example
Request
curl "https://api.cloud.nabto.com/v1/domains/:domain/quotas" \
-H "Authorization: Bearer <ApiKey>" \
-H "X-Nabto-Organization: <OrganizationId>"
Response
{
"quotas": [{
"name": "friendly name",
"value": 42,
"default": 42,
"description": "<description>"
}
,
...],
}