Skip to main content

IP Restriction Plugin Reference

FieldTypeDefaultOptionalLimitationsDescription
Running Modestring-NoOptional Values: "Allow", "Deny"Specify the running mode.

Allow Mode

FieldTypeDefaultOptionalLimitationsDescription
Allowed Client IP Addresses & CIDR Rangesstring array-NoLength >= 1Allowed IP addresses or CIDR Ranges.
Error Messagestring"Your IP address is not allowed"YesError message returned when the request is blocked.

Deny Mode

FieldTypeDefaultOptionalLimitationsDescription
Denied Client IP Addresses & CIDR Rangesstring array-NoLength >= 1Denied IP addresses or CIDR Ranges.
Error Messagestring"Your IP address is not allowed"YesError message returned when the request is blocked.
API7.ai Logo

The digital world is connected by APIs,
API7.ai exists to make APIs more efficient, reliable, and secure.

Sign up for API7 newsletter

Product

API7 Gateway

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2025. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the Apache Software Foundation