The Allow Country (i.e., ec_country_allow) and the Deny Country (i.e., ec_country_deny) parameters may be used to restrict access by the country from which the request originated.
Restriction | Parameter | Description |
---|---|---|
Allow |
ec_country_allow |
This parameter only allows requests that originate from one or more specified countries. Requests that originate from all other countries will be denied access. |
Deny |
ec_country_deny |
This parameter denies requests that originate from one or more specified countries. Requests that originate from all other countries will be allowed. |
An alternative method for restricting access by country is the Country Filtering feature. This feature
Learn more.
Key information:
These parameters may be set to any two-letter ISO 3166 country code.
Set the Allow Country parameter to the following value to only allow requests from the United States, Mexico, and Canada:
A request submitted from any other country will be denied if it leverages a token generated using the above parameter.