Mail
cPanel Account Mail Management

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.

get/terminate_cpuser_mailbox_sessions

Query parameters

usernamestring username required
Example:username

The cPanel account's username.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "terminate_cpuser_mailbox_sessions",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.