Update DDoS protection mode
update_ddos_protection_modeSet or change a domain's DDoS protection mode to cookie, JavaScript, reCAPTCHA, or CAPTCHA, defining how incoming traffic is challenged.
Instructions
[WRITE] Offline FA (cdn/security/ddos): PATCH /domains/{domain}/ddos with protection_mode (cookie|javascript|recaptcha|captcha). Note: CDN Go SDK lists /ddos/settings — this tool follows FA product docs path /ddos.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | ||
| domain | Yes | ||
| captcha_service | No | ||
| protection_mode | Yes | Documented samples: cookie, javascript, recaptcha, captcha |