curl --request POST \
--url http://localhost:3000/api/v1/notifications/rules \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"events": [
"<string>"
],
"channels": [
"<string>"
],
"condition": null,
"severity": "info",
"cooldownMs": 1,
"actions": [
null
]
}
'