Remove block on emails from specific countries

This function unblocks email from specific countries.

SecurityBasicAuth
Request
query Parameters
country_code
string

The country to unblock. A valid ISO 3166-1 alpha-2 code two-letter country code.

Note:

  • To search all available country codes, read the ISO's Full list of Country Codes documentation.
  • To unblock multiple countries, duplicate or increment the parameter name. For example, to unblock three countries, you could:
    • Use the country_code parameter multiple times.
    • Use the country_code, country_code-1, and country_code-2 parameters.
Examples:
To unblock multiple country codes.
country_code=country_code=US&country_code=AD
To unblock multiple country codes using index parameters.
country_code=country_code=US&country_code-1=AD&country_code-2=ES
To unblock one country code.
country_code=US
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/unblock_incoming_email_from_country
Request samples
whmapi1 --output=jsonpretty \
  unblock_incoming_email_from_country
Response samples
application/json
{
  • "data": {
    • "updated": 1
    },
  • "metadata": {
    • "command": "unblock_incoming_email_from_country",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}