请求网址



https://api.dotcom-monitor.com/config_api_v1/devices/DisableAlert

禁用多个设备指定时间段的警报。

头参数

Content-Type: application/json
示例 将禁用警报 30 分钟的请求的示例后体
{
                "DisableAlert":
                [
                               {
                                               "Device_ID": 271438,
                                               "Alert_Silence_Min": 10
                               },
                               {
                                               "Device_ID": 271439,
                                               "Alert_Silence_Min": 30
                               }
                ]
}

 

身体参数

领域 类型 必填 描述
Device_ID

int32

true

要禁用警报的设备的名称。
Alert_Silence_min

int32

true

当所有警报禁用时,以分钟为内定义时间段。

成功响应

示例响应
{
    "Success":true,
    "Result":"Bulk alert silence has been completed."
}