curl --location --request PUT 'https://api.flashcat.cloud/api/n9e-plus/conf-global-alert-mute/4' \
--header 'X-User-Token: <api-key>' \
--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
}
]
}'