Forum Discussion
Tim_Harber
Dec 23, 2019Cirrus
How to delete all of a VIP's active connections using REST
I am trying to delete all of the active connections to a virtual server. From the CLI I can run delete /sys connection cs-server-addr x.x.x.x. How can I do this using a REST API call to the LTM?
Satoshi_Toyosa1
Dec 26, 2019Ret. Employee
DELETE /mgmt/tm/sys/connection?options=cs-server-addr,XX.XX.XX.XX
For example, using curl:
curl -sku admin:<pass> https://<host>/mgmt/tm/sys/connection?options=cs-server-addr,172.16.10.40 -X DELETE
Cheers.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects