Email
Email Accounts
Delete email account
This function deletes an email address.
Important:
When you disable the Receive Mail role, the system disables this function.
get/Email/delete_pop
Query parameters
Example:user@domain.com
The email account username or address.
- A valid email account username. For example, user if the email address is user@example.com.
- A valid email address.
domainstring domain
Example:example.com
The email account's domain. For example, example.com if the email address is user@example.com.
flagsstring
Example:passwd
Whether to remove the mail account's home mail directory. If you do not specify a value, the function removes the mail account's home directory.
- passwd — Preserve the mail account's home directory.
- Any other value — Remove the mail account's home directory.
skip_quota0 | 1
Whether to modify the mail account's quota file.
- 1 — Do not modify.
- 0 — Modify.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "delete_pop",
"module": "Email",
"result": {
"status": 1
}
}