Forum Discussion

kridsana's avatar
kridsana
Icon for Cirrocumulus rankCirrocumulus
Nov 04, 2019

How to clear webaccelation cache via API?

Hi

 

I know we can clear web cache which F5 cache from webacceleration profile in GUI on CMD. https://support.f5.com/csp/article/K13255

 

But can we clear cache from API?

 

So dev team didn't have to access F5 shell everytimes.

 

Thank you

1 Reply

  • Not sure about REST, but with the SOAP API you can use either

    https://clouddocs.f5.com/api/icontrol-soap/LocalLB__RAMCacheInformation__evict_ramcache_entry_v2.html

    or

    https://clouddocs.f5.com/api/icontrol-soap/WebAccelerator__Applications__invalidate_content.html