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

Description

Changes 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/roomquota
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
    }
  ]
}