curl --request POST \
--url 'https://api.flashcat.cloud/channel/unsubscribe/rule/create?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"channel_id": 3521074710131,
"rule_name": "Drop test environment alerts",
"description": "Discard all alerts from the test environment before they create incidents",
"filters": [
[
{
"key": "labels.env",
"oper": "IN",
"vals": [
"test",
"dev"
]
}
]
]
}
'