The following table provides the request parameters for stray file retention.
Parameter | Description |
AutoRemoveStrayFiles | Enable automatic stray file removal (bool). |
StrayFileRetention | Set a retention period. Options are 7, 30, 60, 90, 180, and 365 days (int). |
SkipFileRemoval | Enable skip file removal if volume or share is not found (bool). |
KeepMostRecentCopy | Enable always keep the most recent copy of each file (bool). |
Example Response
{
"StrayFiles" :
{
"AutoRemoveStrayFiles": true,
"StrayFileRetention": 90,
"SkipFileRemoval": false,
"KeepMostRecentCopy": true
}
}