Skip to main content
POST
Create a country block

Authorizations

Authorization
string
header
required

API key for account management endpoints. Use your api_ prefixed token.

Body

application/json
country
string
required

ISO 3166-1 alpha-2, uppercase

Example:

"RU"

match_type
enum<string>
default:any
Available options:
ip,
tld,
any
action
enum<string>
default:DENY
Available options:
DENY,
QUARANTINE
domain
string | null

Recipient domain to scope to. Omit for the whole account.

enabled
boolean
default:true

Response

Created

success
boolean
Example:

true

uuid
string<uuid>
rule
object