Return blocked email countries list

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

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/list_blocked_incoming_email_countries
Request samples
whmapi1 --output=jsonpretty \
  list_blocked_incoming_email_countries
Response samples
application/json
{
  • "data": {
    • "countries": [
      • {
        • "country_code": "AD"
        }
      ]
    },
  • "metadata": {
    • "command": "list_blocked_incoming_email_countries",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}