dotsonpaper_280
Oct 14, 2017Nimbostratus
How To Delete An irule using Rest API with CURL
Hello,
I am a bit stumped. I know I can add an irule using the rest api running the following command:
curl -sku ':' -H "Content-Type: application/json" -X PATCH https://bigip1/mgmt/tm/ltm/virtual/virtual-server -d '{"rules": ["/Common/cool-irule"] }'
but for the life of me I can not figure out the payload to remove an irule. I am 2 hours into testing and research and I am stumped. Any ideas would be appreciated.