You need to enable JavaScript to run this app.
导航
DeleteCustomBotConfig - 删除自定义 bot 规则
最近更新时间:2024.10.12 12:01:30首次发布时间:2024.10.12 12:01:30

根据 ID 删除自定义 bot 规则。

请求说明

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

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

Query

参数
类型
是否必填
示例值
描述
Action
String

DeleteCustomBotConfig

要执行的操作,取值:DeleteCustomBotConfig。

Version
String

2023-12-25

API的版本,取值:2023-12-25。

Body

参数
类型
是否必填
示例值
描述
BotID
Integer

3624

需要删除的 bot 规则 ID,获取方式可参考ListCustomBotConfig - 查询自定义规则详情

Host
String

example.volcwaf001.com

关联的域名信息。

返回参数

本接口无特有的返回参数。更多信息请见返回结构

请求示例

POST /?Action=DeleteCustomBotConfig&Version=2023-12-25 HTTP/1.1
Host: volcengineapi-boe-stable.byted.org
Content-Type: application/json; charset=UTF-8
X-Date: 20240527T091446Z
X-Content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240527/cn-beijing/waf/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f

{
  "BotID": 3624,
  "Host": "example.volcwaf001.com"
}

返回示例

{
  "ResponseMetadata": {
    "RequestId": "20240527171450045180038027DAA799",
    "Action": "DeleteCustomBotConfig",
    "Version": "2023-12-25",
    "Service": "waf",
    "Region": "cn-beijing"
  },
  "Result": null
}

错误码

您可访问公共错误码,获取更多错误码信息。