Remove all login security records

This function removes the login history entries from the cPHulk database.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/flush_cphulk_login_history
Request samples
whmapi1 --output=jsonpretty \
  flush_cphulk_login_history
Response samples
application/json
{
  • "data": {
    • "records_removed": 10
    },
  • "metadata": {
    • "command": "flush_cphulk_login_history",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}