Forum Discussion

jporgand_46879's avatar
jporgand_46879
Icon for Nimbostratus rankNimbostratus
May 27, 2015

delete ramcache entry for exact uri using iControlREST

Hello, I am looking for the iControlREST equivalent for this tmsh command:

delete ltm profile ramcache xxxxxxx host xxxxxx.xxx uri /path/to/page exact

Is there a direct analogue? I've explored the API a bit using GET but 'ramcache' doesn't appear to be a discoverable item.

5 Replies

  • As an addendum, sending a DELETE to https://big.ip/mgmt/tm/ltm/profile/ramcache/xxxxxx works, however I can't figure out the syntax to specify further options. A JSON body is not accepted with a DELETE request (returns 400). I also tried using the options query parameter (which the GET section of the iControl REST user guide says "Specifies the options to a query request. This parameter takes values that are compatible with the tmsh command-line options.") but that also returns 400. Is what I'm trying to do actually possible?
  • I'm checking, I'm not sure this is currently possible, but I'll let you know.
  • Hey guys! Any news? I'm facing the same problem right now! haha

     

    Using tmsh I can delete entries based on uri, or other parameter. But when I do it using curl, it always delete all entries. Looks I'm not putting the parameters right.

     

    You guys have any idea?