Get Product quota

This function is deprecated and should not be used for new implementations: Device quotas have been moved to organizations

Description

Get device quota assosiated with specified Product.

Request

GET /v1/n5/products/:productId/quotas

Response

Successful response contains the following JSON formated body:

{
  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/n5/products/:productId/quotas" \
  -H "Authorization: Bearer <ApiKey>" \
  -H "X-Nabto-Organization: <OrganizationId>"

Response

{
   "name": "friendly name",
  "value": 42,
  "default": 42,
  "description": "<description>"
}