TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/people/resetquota This function requires authentication

Description

Resets a user quota limit with the ID specified in the request from the portal.

Parameters
Name Description Type Example
UserIds
sent in body
List of user IDs Collection of guids
collection
9924256A-739C-462b-AF15-E652A3B1B6EB
Quota
sent in body
User quota number 1234
Example
PUT api/2.0/people/resetquota
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Quota": 1234
}
Returns

User detailed information

Example Response
{
  "status": 0,
  "response": [
    {
      "FirstName": "some text",
      "LastName": "some text",
      "UserName": "some text",
      "Email": "some text",
      "Birthday": "2008-04-10T06-30-00.000Z",
      "Sex": "some text",
      "Status": "Active",
      "ActivationStatus": "NotActivated",
      "Terminated": "2008-04-10T06-30-00.000Z",
      "Department": "some text",
      "WorkFrom": "2008-04-10T06-30-00.000Z",
      "Location": "some text",
      "Notes": "some text",
      "AvatarOriginal": "some text",
      "AvatarMax": "some text",
      "AvatarMedium": "some text",
      "Avatar": "some text",
      "IsAdmin": true,
      "IsRoomAdmin": true,
      "IsLDAP": true,
      "ListAdminModules": [
        "some text"
      ],
      "IsOwner": true,
      "IsVisitor": true,
      "IsCollaborator": true,
      "CultureName": "some text",
      "MobilePhone": "some text",
      "MobilePhoneActivationStatus": "NotActivated",
      "IsSSO": true,
      "QuotaLimit": 1234,
      "UsedSpace": 1234,
      "IsCustomQuota": true
    }
  ]
}