curl --location --request POST 'https://api.flashcat.cloud/channel/update?app_key=<api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel_id": 0,
"channel_name": "string",
"description": "string",
"team_id": 0,
"auto_resolve_timeout": 0,
"auto_resolve_mode": "trigger",
"is_private": true,
"group": {
"method": "i",
"cases": [
{
"if": [
{
"key": "title",
"oper": "IN",
"vals": [
"string"
]
}
],
"equals": [
"title"
]
}
],
"equals": [
[
"title"
]
],
"all_equals_required": true,
"time_window": 0,
"storm_threshold": 0,
"i_keys": [
"title"
],
"i_score_threshold": 0.9
},
"flapping": {
"is_disabled": true,
"max_changes": "i",
"in_mins": 0,
"mute_mins": 0
}
}'