Forum Discussion
Nikolay_Matveev
Nimbostratus
Mar 23, 2016APM: terminate active session via API
Is it possible to obtain a list of active APM session and then terminate one of them using an API?
I assumed this could be done using iControl REST API but failed to find any relevant informati...
Yann_Desmarest
Cirrus
Mar 24, 2016Hello,
You can show active sessions using the following script :
for i in $(sessiondump -list | cut -f1 -d\ ); do sessiondump -delete $i; done
You should have a look at the sessiondump command to see if you can kill an active session.
Nikolay_Matveev
Nimbostratus
Mar 24, 2016Hmm... that's not very good...
If a script is invoked via the REST API can its console output be returned as a result of that API call?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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