You need to enable JavaScript to run this app.
导航
DeleteRulesByIds
最近更新时间:2024.06.27 14:36:24首次发布时间:2022.10.09 10:39:16

调用DeleteRulesByIds接口删除一个告警策略。

请求说明

  • 请求方式:POST
  • 请求地址:https://open.volcengineapi.com?Action=DeleteRulesByIds&Version=2018-01-01
ServiceName : Volc_Observe
Region : cn-beijing 
AccessKey : xxx
SecretKey : xxx

调试

请求参数

Query

参数类型是否必选示例值描述
ActionStringDeleteRulesByIds接口名称。当前 API 的名称为 DeleteRulesByIds
VersionString2018-01-01接口版本。当前 API 的版本为 2018-01-01

Body

参数类型是否必选示例值描述
IdsArray of String["1354766247190******"]要删除的告警策略ID。

返回参数

参数类型示例值描述
DataArray of String[]返回的数据内容,空占位符。

请求示例

POST https://open.volcengineapi.com?Action=DeleteRulesByIds&Version=2018-01-01
ServiceName: Volc_Observe
Region: cn-beijing
AccessKey: xxx
SecretKey: xxx
{
  "Ids": ["1354766247190******"]
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "",
        "Action": "DeleteRulesByIds",
        "Version": "2018-01-01",
        "Service": "",
        "Region": ""
    },
    "Result": {
        "Data": []
    }
}

错误码

本接口无特有的错误码。更多信息请参见错误码