Remove all login security records

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

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  flush_cphulk_login_history

Response samples

Content type
application/json
{
  • "data": {
    • "records_removed": 10
    },
  • "metadata": {
    • "command": "flush_cphulk_login_history",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}