How to add a webhook connector with its body to all existing Elastic detection rules automatically?

I created a webhook connector, and I want to add it to all of my installed detection rules without having to manually edit each rule’s actions section one by one. Is there a way to add it to all of them automatically? Especially if the body of the connector might change in the future.