GET api/2.0/files/settings/autocleanup This function requires authentication

Description

Returns the trash bin auto-clearing setting.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/files/settings/autocleanup
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

The auto-clearing setting properties: auto-clearing or not, a time interval when the auto-clearing will be performed

Example Response
{
  "status": 0,
  "response": {
    "IsAutoCleanUp": true,
    "Gap": "OneWeek"
  }
}