Webmail GEO

Set webmail GEO for a domain

Enable/disable + configure webmail login GEO-restriction for one of your domains.

post/v1/webmail-geo/domains

Request

  • Base URL: https://developers.servera.co.uk
  • URL: https://developers.servera.co.uk/v1/webmail-geo/domains
  • Auth: HTTP bearer

Request body

domainstring required

One of your cPanel mail domains.

enabledboolean
modestring

'whitelist' (allow only) or 'blacklist' (block).

countriesstring[]

ISO-2 country codes, e.g. ['LT','LV'].

fail_openboolean

Allow unknown/private IPs (recommended).

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.