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.
uapi --output=jsonpretty \ --user=username \ Fileman \ empty_trash
{- "apiversion": 3,
- "func": "empty_trash",
- "module": "Fileman",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}