This method allows to log out of the API and invalidates the current authentication token.
Parameters
Returns if the user has been logged out successfully.
Examples
Logging out
Request:
- "jsonrpc": "2.0",
- "result": true,
- "id": 1
Source
CUser::login() in frontends/php/include/classes/api/services/CUser.php.