Skip to main content
PUT
更新告警

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

id
string
必填

告警 ID

请求体

application/json
channel
object
dashboardId
string
示例:

"65f5e4a3b9e77c001a567890"

interval
string
示例:

"1h"

message
string
示例:

"Updated message"

name
string
示例:

"Updated Alert Name"

source
enum<string>
可用选项:
tile,
search
示例:

"tile"

threshold
number
示例:

500

thresholdType
enum<string>
可用选项:
above,
below
示例:

"above"

tileId
string
示例:

"65f5e4a3b9e77c001a901234"

响应

已成功更新告警

data
object
最后修改于 2026年6月29日