TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/files/rooms/resetquota This function requires authentication

Description

Resets a quota limit for the rooms with the IDs specified in the request.

Parameters
Name Description Type Example
RoomIds
sent in body
List of room IDs Collection of System.Text.Json.JsonElements
collection
Quota
sent in body
Room quota number 1234
Example
PUT api/2.0/files/rooms/resetquota
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Quota": 1234
}
Returns

List of rooms with the detailed information

Example Response
{
  "status": 0,
  "response": [
    {
      "ParentId": 1234,
      "FilesCount": 1234,
      "FoldersCount": 1234,
      "IsShareable": true,
      "IsFavorite": true,
      "New": 1234,
      "Mute": true,
      "Pinned": true,
      "RoomType": "5",
      "Private": true,
      "QuotaLimit": 1234,
      "IsCustomQuota": true,
      "UsedSpace": 1234
    }
  ]
}