Skip to main content

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:

Screenshot 2025-06-09 at 14.06.15.png

Visitvisit the API keys section and choose"User Authentication", selecting theManage user who has been permitted API access.sessions"

Screenshot 2025-06-09 at 14.06.01.pngScreenshot 2025-06-09 at 14.13.02.png

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.