Response
If the triggers were created with alert:create-triggers($uri) then they should be removed with alert:remove-triggers($uri) before deleting the config. If the triggers were created in some other way, the config should be disassociated from them withbefore deleting the config.
alert:config-insert(
alert:config-set-trigger-ids(
alert:config-get($uri), ()
)
)