Forum Discussion
Satoshi_Toyosa1
Feb 03, 2017Employee
That's a very difficult question.
First of all, iControl® REST API User Guide, Version 12.1.0 states that "With the exception of the asm module, query parameters are limited to GET requests" - so it does not work for DELETE. Also, because all the connection table entries are treated as one chunk of string data under
apiRawValues
(as you can see in the response to GET), it is theoretically not possible to pick selected entries.
Interesting enough, in some TMOS versions, you may be able to DELETE entries selectively using the options query, however, it is not currently supported (to my knowledge).
An alternative way to achieve this goal is to call the equivalent tmsh command via the
/mgmt/tm/sys/bash
endpoint (see Native tmsh/bash commands via REST API).