Client - IP Blockers

Create one or more IP blocker rules for a domain owned by the caller

Accepts a single IPv4, an IP range (e.g. 192.168.0.1-40), CIDR (e.g. 192.168.0.0/24), an implied range (e.g. 192.) or an FQDN. Multiple records may be created from a single value (range/CIDR/FQDN expansion).

post/api/client/ip-blockers

Request body

domain_idinteger required

ID of the domain (must belong to the caller's account)

blocked_ipstring required

IPv4, range, CIDR or FQDN

Response

Created

idinteger

ID of the IP blocker record

hosting_account_idinteger

ID of the related hosting account

domain_idinteger

ID of the domain the rule applies to

blocked_ipstring

Blocked value: IPv4, range, CIDR or FQDN

beginning_ipstring

First IP in the block range (IPv4)

ending_ipstring

Last IP in the block range (IPv4)

created_atstring date-time
updated_atstring date-time

Changes