Update the IP restriction configuration for an application. Sets the restriction type (allow or deny), enables or disables it, and updates the list of IP addresses or CIDR ranges. When type is allow, only the listed IPs can access the application. When type is deny, the listed IPs are blocked. Returns the updated restriction state.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Application identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Restriction type. allow - only listed IPs can access the application. deny - listed IPs are blocked from accessing the application.
allow, deny "allow"
Whether the IP restriction should be active
true
List of IP addresses or CIDR ranges to include in the restriction
50045["203.0.113.0/24", "198.51.100.1"]Default Response
Restriction type. allow - only listed IPs can access. deny - listed IPs are blocked.
allow, deny "allow"
Whether the IP restriction is currently active
true
List of IP addresses or CIDR ranges included in the restriction
["203.0.113.0/24", "198.51.100.1"]