Retrieve the current IP restriction configuration for a database. Returns the restriction type, whether it is active, and the list of IP addresses or CIDR ranges. If no restriction has been configured, returns a default state with type deny, disabled, and an empty IP list.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Database 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"
Default Response
Restriction type. allow - only listed IPs can access. deny - listed IPs are blocked.
allow, deny "deny"
Whether the IP restriction is currently active
false
List of IP addresses or CIDR ranges included in the restriction
["203.0.113.0/24", "198.51.100.1"]