Can I delete trap destinations added with add_v3_trap_destination()?

I am adding several v3 trap destinations with NotificationOriginator::add_v3_trap_destinations() but I do not see an interface for deleting or modifying those destinations. Is there an interface for these actions?

That method is an example only! Please study it’s content and implement your own method. then you can implement a removal method too.

Thank you for the quick answer. It is not always clear where the line between “example” and “real” code is drawn. I will implement my own add/delete/update methods for trap destinations.