修改指定全局屏蔽
PUT
https://api.flashcat.cloud/api/n9e-plus/conf-global-alert-mute/{id}
最后修改时间:2025-03-26 10:02:22
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.flashcat.cloud/api/n9e-plus/conf-global-alert-mute/4' \
--header 'Content-Type: application/json' \
--data-raw '{
"disabled": 1,
"note": "全局屏蔽规则--1234",
"ex_group_ids": null,
"ex_datasource_ids": null,
"cause": "",
"btime": 1733838552,
"etime": 1733842152,
"created_at": 1733981537,
"created_by": "",
"update_at": 1733839749,
"update_by": "root",
"periodic_mutes": [
{
"enable_stime": "00:00",
"enable_etime": "00:00",
"enable_days_of_week": "1 2 3 4 5 6 0"
}
],
"mute_time_type": 1,
"tags": [
{
"key": "test",
"func": "==",
"value": "test",
"Regexp": null,
"Vset": null
},
{
"key": "severity",
"func": "!~",
"value": "critical",
"Regexp": "critical",
"Vset": null
}
]
}'
响应示例响应示例
{
"err": "string"
}
请求参数
Path 参数
id
integer
必需
示例值:
4
Body 参数application/json