TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/settings/tenantquotasettings This function requires authentication

Description

Saves the tenant quota settings specified in the request to the current portal.

Parameters
Name Description Type Example
TenantId
sent in body
Tenant ID number 1234
Quota
sent in body
Quota number 1234
Example
PUT api/2.0/settings/tenantquotasettings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "TenantId": 1234,
  "Quota": 1234
}
Returns

Tenant quota settings

Example Response
{
  "status": 0,
  "response": {
    "EnableQuota": true,
    "Quota": 1234,
    "LastRecalculateDate": "2008-04-10T06-30-00.000Z"
  }
}