Manage user sessions
User sessions can be createdterminated using the API. This is handy for machineintegration towith machinerevocation authentication,systems, SOAR/SIEM integrations whereby immediate termination of network access and sessions is where knocknoc-client authentication requests are also configured.desired.
As an Admin, create a local user, selecting API Key as the authentication method:
Visitvisit the API keys section and choose"User Authentication", selecting theManage user who has been permitted API access.sessions"
Note the IP restrictions.
This can now be used with the knocknoc-client for scripted authentication grant/revocation, as part of SCP/Rsync etc transfers, or other integrations.