Using above apis, I can get information about the added DNS caches, but there is no way to clear these. On UI, we need to go to the statistics page to clear the cache, but again there is no way to check statistics using REST.
I have also figured out tmsh common for clearing DNS cache, which is delete
ltm dns cache records rrset cache
. Now I am trying to convert this command into REST api which is unfortunately not working. I tried following: