Fileman
Manage Files
Delete .trash folder content
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.
get/Fileman/empty_trash
Query parameters
older_thaninteger
Example:31
The maximum age in days of content that the function will not purge.
Note:
A value of 0 will purge everything from the user's .trash folder.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "empty_trash",
"module": "Fileman",
"result": {
"status": 1
}
}