This function removes a cPanel user account's archives.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ delete_account_archives \ user='username'
{- "metadata": {
- "command": "delete_account_archives",
- "output": {
- "messages": [
- "Found archive: /home/example/example.tar.gz"
], - "warnings": [
- "This is a warning message."
]
}, - "reason": "OK",
- "result": 1,
- "version": 1
}
}