【问题标题】:Firewall rule enable with cloudflare API使用 cloudflare API 启用防火墙规则
【发布时间】:2021-05-05 17:34:22
【问题描述】:

我们需要使用 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 来启用/禁用防火墙规则。

【问题讨论】:

    标签: api curl firewall cloudflare


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2021-05-11
      • 1970-01-01
      • 1970-01-01
      • 2013-09-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-11-26
      • 2019-06-12
      相关资源
      最近更新 更多