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.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/Email/terminate_mailbox_sessions
Request samples
uapi --output=jsonpretty \
  --user=username \
  Email \
  terminate_mailbox_sessions
Response samples
application/json
{
  • "metadata": {
    • "command": "terminate_mailbox_sessions",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}