Update iRules via API?

With the F5 Dev API, is there any way to update a specific iRule by overwriting it? I was unable to find a feasible solution. Thanks!

Not 100% sure but maybe using iControls. Try downloading iRule editor and see if it is using iControl posts to create iRules.

F5 Cloud Docs How does add_rule behave if iRule with the same name already exist?

Thanks for your response. I tried out the iRule editor, but not sure how it is modifying the rules. I did find out that iControl API does provide method to update iRules. LocalLB::Rule::modify_rule

I was looking in the wrong section previously :slight_smile: