Open Side Menu
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
  1. DevCentral
  2. Forums
  3. Technical Forum

Forum Discussion

Ken_Wong_48678's avatar
Ken_Wong_48678
Historic F5 Account
Jul 15, 2008

remove irule

Hi,     My customer would like to remove irule using icontrol. Is there any sample script here? TIA.     Regards,   Ken
dev
devops
iControl
Joe_Pruitt's avatar
Joe_Pruitt
Jul 16, 2008
Keep in mind that you cannot delete a iRule if it is use by a virtual server. You'll need to use the LocalLB.VirtualServer.remove_rule() method first before actually deleting the iRule from the system with the LocalLB.Rule.delete_rule() method.

 

 

-Joe

F5 AppWorld 2026 Las Vegas - iRules Contest Winners!

DevCentral News
announcement
appworld2026
contest
irules

2026 F5 DevCentral MVP Announcement

DevCentral News
announcement

Recent Discussions

  • DNS topology not distributing as expected
    Solved
    Mar 16, 2026
    Roland00
  • Unable to Forward APM and AFM Logs to AWS CloudWatch Using Telemetry Streaming
    Mar 15, 2026
    jainzeel13
  • which virtual server will be hit?
    Mar 15, 2026
    Herman2024
  • Questions on device trust
    Mar 15, 2026
    InquisitiveMai
  • Restore configuration to GTM Sync Group device
    Mar 15, 2026
    leemedz
Related Content
  • Remove alerts showing r-series LCD/Dashboard.
    Aug 31, 2025
    Kalo
  • iRule to Remove Duplicate Header by Value
    Dec 07, 2021
    spars
  • iRule to set SameSite for compatible clients and remove it for incompatible clients (LTM|ASM|APM)
    Feb 10, 2020
    Aaron_Hooley
  • Rapid iRule Removal via Tmsh Script
    May 14, 2010
    JRahm
  • Remove iRule From Multiple Virtual Servers
    Mar 10, 2015
    CodeCentral_194