The retention period is the time after which a deleted document is permanently removed from the AODocs Library. The retention period begins at the moment the document is deleted (enters the library's trash). Once a document's retention period has ended, the document is permanently removed from the AODocs library within 24 hours.
Note: a document removed from AODocs is still owned by the storage account but is not visible or accessible by anyone.
To modify the retention period of deleted documents, open the general settings of the library (1) in the administration console and define the retention period by entering the number of days deleted documents should kept before being permanently deleted automatically (2).
Modifying the retention period of deleted documents of a library
The default retention period is set to 30 days but you can customize it. To never delete the documents within the company trash, set the retention period to -1.