使用 cloudflare 启用防火墙规则 API

Firewall rule enable with cloudflare API

我们需要使用 API 更改 cloudflare 防火墙规则的状态。
Docs 中,我看到 'paused' Returns true when the rule is not active. Use 'ref' to enable/disable the rule.'ref' A short string for tagging rules.
但是我们不明白什么是 ref 以及如何将 ref 用于 enable/disable 防火墙规则。

文档具有误导性,您只需覆盖“已暂停”即可。