This function purges content from the .trash
folder in the user's home directory.
Important:
When you disable the FileStorage role, the system disables this function.
older_than | integer >= 0 Default: 0 The minimum age in days of content that the function will purge. Note: A value of Example: older_than=31 |
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --user=username Fileman empty_trash
{- "apiversion": 3,
- "func": "empty_trash",
- "module": "Fileman",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}