Updates the trash bin auto-clearing setting.
Name | Description | Type | Example |
set
sent in body
|
Enables the auto-clearing or not | Bool value | true |
gap
sent in body
|
A time interval when the auto-clearing will be performed (one week, two weeks, one month, two months, three months) | ASC.Files.Core.DateToAutoCleanUp |
PUT api/2.0/files/settings/autocleanup Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "set": true, "gap": null }
The auto-clearing setting properties