curl --location 'https://api.flashcat.cloud/preference/update' \
--header 'Flashcat-Context: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"trigger_notify": {
"critical": [
"email"
],
"warning": [
"email"
],
"info": [
"email"
]
},
"schedule_shift_notify": {
"personal_channels": [
"email"
]
},
"status_change_notify": {
"im_integrations": [
"string"
]
}
}'{
"error": {
"code": "string",
"message": "string"
}
}