Forum Discussion
RESTAPI - Delete sys connection
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).Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com