Create an IP rule
Blocks or allows one IP or CIDR range.
POST
https://api.clicklookup.com/v1/ip-rulesRequires an API key
Request body3
cidrstringrequiredIPv4/IPv6 address or CIDR, e.g. 203.0.113.0/24
7–43 charsactionenumWhat to do.
One ofblockallowDefault"block"notestringnullableWhy the rule exists.
max 200 chars
Response · 2016
actionenumrequiredWhat to do.
One ofblockallowcidrstringrequiredIPv4/IPv6 address or CIDR, e.g. 203.0.113.0/24
7–43 charscreatedAtstring · date-timerequiredISO-8601 timestamp with offset
idstring · uuidrequiredUUID primary key
notestringrequiredWhy the rule exists.
max 200 charsworkspaceIdstring · uuidrequiredUUID primary key