You need to enable JavaScript to run this app.
导航
DeleteNotifyGroupPolicy
最近更新时间:2024.09.03 15:42:18首次发布时间:2023.06.30 15:23:34

删除告警聚合策略。

请求说明

  • 请求方式:POST
  • 请求地址:https://open.volcengineapi.com/?Action=DeleteNotifyGroupPolicy&Version=2021-03-03

请求参数

参数类型是否必选示例值描述
ActionStringDeleteNotifyGroupPolicy接口名称。当前 API 的名称为 DeleteNotifyGroupPolicy
VersionString2021-03-03接口版本。当前 API 的版本为 2021-03-03
IdStringe28ae750-bbb8-4ff4-abf4-1e0e0f88808c告警聚合策略 ID。

请求示例

POST https://open.volcengineapi.com/?Action=DeleteNotifyGroupPolicy&Version=2021-03-03
Content-Type: application/json
{
    "Id": "e28ae750-bbb8-4ff4-abf4-1e0e0f88808c"
}

返回参数

参数类型示例值描述
IdStringe28ae750-bbb8-4ff4-abf4-1e0e0f88808c告警聚合策略 ID。

返回示例

HTTP/1.1: 200 OK
Content-Type: application/json
{
    "ResponseMetadata": {
        "RequestId": "20230604110420****100232280022D31",
        "Action": "DeleteNotifyGroupPolicy",
        "Version": "2021-03-03",
        "Service": "vmp",
        "Region": "cn-north-1"
    },
    "Result": {
        "Id": "e28ae750-bbb8-4ff4-abf4-1e0e0f88808c"
    }
}

错误码

本接口错误码如下表所示,公共错误码请参见 公共错误码

HTTP 状态码错误码错误信息说明
400MissingParameter.{{parameter}}The required parameter {{parameter}} is missing.缺少必要的参数。
403ProductUnsubscribedYou are not subscribed to the Volcengine Managed Service for Prometheus (VMP). Please go to the VMP console web page to subscribe to the service当前账号未订阅 VMP 服务。
404NotFound.IdThe specified Contact/ContactGroup {{Id}} is not found.未找到指定联系人/联系人组。