MediaWiki:Apihelp-logout-example-logout
From MoodleDocs
Log the current user out.
Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Apihelp-logout-example-logout.