Modify Default Quota

Description

Modify a default quota of a given name. Only available to administrators

Request

POST /v1/default-quotas
{
  name: string,
  value: number,
  description?: string
}

Response

Response Status codes:

  • 204 on success

Request headers

This request must have the following headers:

  • Authorization: bearer <ApiKey>
  • X-Nabto-Organization: <organizationId>
  • Content-Type: application/json

Example

Request

curl -XPOST "https://api.cloud.nabto.com/v1/default-quotas" \
  -H "Authorization: Bearer <ApiKey>" \
  -H "X-Nabto-Organization: <OrganizationId>" \
  -H "Content-Type: application/json" \
  -d '{ name: "friendly name", value: 42, description: "<description>"}'

Response

Returns response Code: 204