Skip to main content

Update Slack Webhooks

The follwing mutation updates a slack webhook:

mutation UpdateSlackWebhook($slackWebhookId: ObjectID!, $alertTypes: [SlackAlertTypes]) {
updateAutomatorSlackWebhook(input: {
slackWebhookId: $slackWebhookId,
alertTypes: $alertTypes
}) {
slackWebhook {
id
url
alertTypes
}
}
}

Try in explorer