curl --location --request POST 'https://api.flashcat.cloud/preference/update?app_key=<api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"trigger_notify": {
"critical": [
"email"
],
"warning": [
"email"
],
"info": [
"email"
]
},
"schedule_shift_notify": {
"personal_channels": [
"email"
]
}
}'
{
"error": {
"code": "InvalidParameter",
"message": "string"
}
}