alert.configDelete( uri as String ) as null
Remove an alerting configuration identified by the specified URI. If the config does not exist, an exception will be thrown. Any triggers associated with the alerting configuration will be automatically removed. Any actions and/or rules associated by the config will also be removed as well as the protected collection. The caller must have the alert-admin privilege to call this function.
Parameters | |
---|---|
uri | The URI of the alerting configuration. |
var alert = require("/MarkLogic/alert.xqy"); declareUpdate(); alert.configDelete("http://acme.com/alert/message-board")