Stop cPanel account IMAP and POP3 connections

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.

Authorizations:

Responses

Response Schema: application/json
object

Request samples

uapi --output=jsonpretty \
  --user=username \
  Email \
  terminate_mailbox_sessions

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "terminate_mailbox_sessions",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}