This method allows to log out of the API and invalidates the current authentication token.
This method is available to users of any type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(array) The method accepts an empty array.
true if the user has been logged out successfully.
Log out from the API.
CUser::login() у ui/include/classes/api/services/CUser.php.