用户删除推送告警的策略
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
sysom:DeleteAlertStrategy |
delete |
*全部资源
|
无 | 无 |
请求语法
DELETE /api/v1/alertPusher/alert/deleteStrategy HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| id |
string |
是 |
告警策略 id |
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| code |
string |
状态码
|
Success |
| data |
any |
返回数据。 |
{ "uid": "1808078950770264", "name": "test", "strategy": { "items": [ "节点CPU使用率检测" ], "clusters": [ "1" ] }, "enabled": false, "id": 1, "created_at": 1753170771, "updated_at": 1753170811 } |
| message |
string |
错误信息
|
success |
| requestId |
string |
Id of the request |
2D693121-C925-5154-8DF6-C09A8B369822 |
示例
正常返回示例
JSON格式
{
"code": "Success",
"data": "{\n \"uid\": \"1808078950770264\",\n \"name\": \"test\",\n \"strategy\": {\n \"items\": [\n \"节点CPU使用率检测\"\n ],\n \"clusters\": [\n \"1\"\n ]\n },\n \"enabled\": false,\n \"id\": 1,\n \"created_at\": 1753170771,\n \"updated_at\": 1753170811\n }",
"message": "success",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。