curl --location --request PUT 'http://localhost:4516/alert-email/1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "infra@hospital.com",
"idEventType": 49,
"maxErrorCount": 5,
"errorCountAtInterval": 30,
}'{}