Import IP rules

Adds many rules at once from text, one IP or CIDR per line.
POSThttps://api.clicklookup.com/v1/ip-rules/import

Requires an API key

Request body2

  • textstringrequired

    One address or CIDR per line; # comments allowed

    max 200000 chars
  • actionenum

    What to do.

    One ofblockallowDefault "block"

Response · 2001

  • affectedintegerrequired
    0–9007199254740990