Set automatic attack detection
put
/cdn/zones/{zone_uuid}/under-attack/auto-modeChoose what the automatic attack detection does for the zone: off does nothing, notify only emails you when an attack is detected, on also turns on the under attack mode by itself. The platform may keep a lower mode than the one you choose while it tunes the detector.
Authorization
Authorization
Authorization*string
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Path parameters
zone_uuid*string
Request body
Set what the automatic attack detection does for a CDN zone.
application/jsonRequired
mode*string
off does nothing, notify only emails you when an attack is detected, on also turns on the under attack mode by itself.
Value in
"off""notify""on"Responses
Successful Response
application/json
available?boolean
Default
falseactive?boolean
Default
falseuntil?string | null
source?string | null
Value in
"manual""auto""staff"level?integer | null
suppress_auto_until?string | null
auto_attack_mode?string
Default
"off"Value in"off""notify""on"detail*string