alert:config-delete( $uri as xs:string ) as empty-sequence()
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. |
xquery version "1.0-ml"; import module namespace alert = "http://marklogic.com/xdmp/alert" at "/MarkLogic/alert.xqy"; alert:config-delete("http://acme.com/alert/message-board")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.