Groundeddocs
ReferenceLimits

Set defaults and ceilings (platform admins). Limits not listed are unchanged.

PUT/v1/admin/limits

Header Parameters

If-Match*string

The resource's revision, as returned in ETag (for example "3"). Missing returns 428; stale returns 412.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/admin/limits" \  -H "If-Match: string" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "key": "storage_bytes",        "default": 0,        "ceiling": 0      }    ]  }'
{  "data": {    "revision": 0,    "updatedAt": "2019-08-24T14:15:22Z",    "items": [      {        "key": "storage_bytes",        "group": "resources",        "unit": "count",        "period": "none",        "label": "string",        "description": "string",        "default": 0,        "ceiling": 0,        "builtInDefault": 0,        "custom": true      }    ]  }}