ALTER NOTIFICATION INTEGRATION
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 TiDB Cloud Lake.
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>' ]
Examples
Webhook Notification
ALTER NOTIFICATION INTEGRATION SampleNotification SET enabled = true
This example enables the notification integration named SampleNotification.