Skip to main content

ALTER NOTIFICATION INTEGRATION

Introduced or updated: v1.2.371

Alter the settings of a named notification integration that can be used to send notifications to external messaging services.

NOTICE: this functionality works out of the box only in Databend Cloud.

Syntax

Webhook Notification

ALTER NOTIFICATION INTEGRATION [ IF NOT EXISTS ] <name> SET
[ ENABLED = TRUE | FALSE ]
[ WEBHOOK = ( url = <string_literal>, method = <string_literal>, authorization_header = <string_literal> ) ]
[ COMMENT = '<string_literal>' ]
Required ParametersDescription
nameThe name of the notification integration. This is a mandatory field.
Optional Parameters (Webhook)Description
enabledWhether the notification integration is enabled.
urlThe URL of the webhook.
methodThe HTTP method to use when sending the webhook. default is GET
authorization_headerThe authorization header to use when sending the webhook.
commentA comment to associate with the notification integration.

Examples

Webhook Notification

ALTER NOTIFICATION INTEGRATION SampleNotification SET enabled = true

This example enables the notification integration named SampleNotification.

Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today