This function terminates all IMAP and POP3 connections for a cPanel account.
Note:
This function ends connections for every email address, which includes the default address.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ terminate_cpuser_mailbox_sessions \ username='username'
{- "metadata": {
- "command": "terminate_cpuser_mailbox_sessions",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}