v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Update blocking mode

Enable or disable blocking mode for a Zen app

put/firewall/apps/{service_id}/blocking

Path parameters

service_idinteger required

The ID of the Zen app

Request body

blockboolean required

Whether to enable blocking mode for this app. When true, the app will actively block detected attacks. When false, the app will run in detection-only mode and only report attacks without blocking them.

disable_minimum_wait_checkboolean

Skip the 3-day minimum wait period for production apps. This safety period helps prevent accidental blocking of legitimate customer traffic. During this time, you can monitor traffic patterns and verify that only unwanted traffic would be affected.

Example request

{
  "block": true,
  "disable_minimum_wait_check": false
}

Response

The blocking mode has been successfully updated

successboolean

The boolean true indicating success

Example response

{
  "success": true
}