Mutation
mutation SetAlertNotifications($input: SetAlertNotificationsInput!) {
setAlertNotifications(input: $input) {
alertNotifications {
category
slack {
channelIds
userIds
}
email {
isEnabled
}
}
}
}Variables
{
"input": {
"category": "BOLT_SYSTEM"
}
}Response
{
"data": {
"setAlertNotifications": {
"alertNotifications": {
"category": "BOLT_SYSTEM",
"slack": {
"channelIds": [
"string"
],
"userIds": [
"string"
]
},
"email": {
"isEnabled": true
}
}
}
}
}setAlertNotifications
Sets where one category of the targeted workspace’s alerts goes. Needs notifications:write.
MUTATION
setAlertNotifications(input: SetAlertNotificationsInput!): SetAlertNotificationsPayload!Arguments
input
required
The destinations.
Returns
alertNotifications
Where the category's alerts now go.
Mutation
mutation SetAlertNotifications($input: SetAlertNotificationsInput!) {
setAlertNotifications(input: $input) {
alertNotifications {
category
slack {
channelIds
userIds
}
email {
isEnabled
}
}
}
}Variables
{
"input": {
"category": "BOLT_SYSTEM"
}
}Response
{
"data": {
"setAlertNotifications": {
"alertNotifications": {
"category": "BOLT_SYSTEM",
"slack": {
"channelIds": [
"string"
],
"userIds": [
"string"
]
},
"email": {
"isEnabled": true
}
}
}
}
}