Login out all sessions of a logged in user

Good morning,

I was wondering if could exist the possibility (with some api or command) to log out a logged in user (I explain myself). I mean to log out all logged in sessions (at least the web logged ones) and that sessions would have been initiated by the user from, for instance, the https interface. Is not using the api for autologin and so… it’s just something like fetch a users logged in session or for instance, having the username, ask for immediate disconection or session destroy…

Is that possible?.

Best regards,