v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Update IP blocklist

Set the custom IP blocklist for an app. This will replace the existing blocklist with the new one.

put/firewall/apps/{app_id}/ip-blocklist

Path parameters

app_idinteger required

The ID of the Zen app

Request body

Example request

{
  "ip_addresses": [
    "198.51.100.1",
    "192.0.2.0/24"
  ]
}

Response

The IP blocklist has been successfully updated

successboolean

Indicates whether the operation was successful

Example response

{
  "success": true
}