Mail
Spam Management

Return blocked email domains list

This function lists which domains cannot send email to the server.

get/list_blocked_incoming_email_domains

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Response

HTTP Request was successful.

Example response

{
  "data": {
    "domains": [
      {
        "domain": "example.com"
      }
    ]
  },
  "metadata": {
    "command": "list_blocked_incoming_email_domains",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.