Forum Discussion
Nikolay_Matveev
Mar 23, 2016Nimbostratus
APM: 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_
Nacreous
Hello,
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.
Yann_Desmarest_
Mar 24, 2016Nacreous
Unfortunately, I think this is currently not available out of the box. But you may launch bash scripts from the rest api instead
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