Logs out the current user and clears the session. Returns: Empty response on success, error object otherwise.
()
| 260 | @api_blueprint.route('/logout', methods=['POST']) |
| 261 | @no_auth_required() |
| 262 | def logout_post(): |
| 263 | """Logs out the current user and clears the session. |
| 264 | |
| 265 | Returns: |
| 266 | Empty response on success, error object otherwise. |
| 267 | """ |
| 268 | session.logout() |
| 269 | return json_response.success() |
| 270 | |
| 271 | |
| 272 | @api_blueprint.route('/debugLogs', methods=['GET']) |
nothing calls this directly
no outgoing calls
no test coverage detected