You need to enable JavaScript to run this app.
导航
DeleteAllowRule-删除访问白名单规则
最近更新时间:2024.03.01 16:47:39首次发布时间:2024.02.01 14:25:21

根据域名和规则 ID,删除对应的访问白名单规则。

请求说明

  • 请求方式:POST
  • 请求地址:https://open.volcengineapi.com/?Action=DeleteAllowRule&Version=2023-12-25

请求参数

参数

类型

是否必填

示例值

描述

Host

String

example.volcwaf001.com

域名。

Id

Integer

1234

规则 ID。如需查询规则 ID,可参考ListAllowRule-查询访问白名单规则

返回参数


请求示例

POST https://open.volcengineapi.com/?Action=DeleteAllowRule&Version=2023-12-25
X-Date: 20230711T035055Z
Authorization: HMAC-SHA256 Credential=AKLTNGU0OGEyMT***/20230711/cn-beijing/waf/request, SignedHeaders=content-type;x-content-sha256;x-date, Signature=da4fac562d00f41ad8***

{
    "Host":"example.volcwaf001.com",
    "Id":1234
   }

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202402011351184A745E72FE3B17FF****",
        "Action": "DeleteAllowRule",
        "Version": "2023-12-25",
        "Service": "waf",
        "Region": "cn-beijing"
    },
    "Result": null
}