告警与响应相关接口/告警模板
DELETEAlerting起始版本 1.0同步需要认证
删除告警模板
删除消息模板永久。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
路径参数
查询参数
请求参数
路径参数
templateIdString必填模板ID。
查询参数
options.propagationPolicyString选项传播策略。
options.forceBoolean选项强制。
示例: true
options.gracePeriodSecondsInteger选项宽限周期秒。
示例: 0
options.revokeRemoteCredentialsBoolean选项撤销远程凭证。
示例: true
响应状态
DELETE 接口成功时返回空对象,失败时返回标准错误结构。
成功响应
{}错误响应
{
"error": {
"code": "SYS.1001",
"description": "A message or a operation timeout",
"details": "Delete resource timeout after 300s"
}
}请求地址
DELETE/api/v1/alerting/templates/{templateId}
/api/v1/alerting/templates/{templateId}
请求示例
curl -X DELETE '{host}/api/v1/alerting/templates/{templateId}' -H 'Authorization: Bearer {token}'
响应示例
200{}变更历史
此 API 暂无变更历史记录。
