Return blocked email domains list

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

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/list_blocked_incoming_email_domains
Request samples
whmapi1 --output=jsonpretty \
  list_blocked_incoming_email_domains
Response samples
application/json
{
  • "data": {
    • "domains": [
      • {
        • "domain": "example.com"
        }
      ]
    },
  • "metadata": {
    • "command": "list_blocked_incoming_email_domains",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}