Auth

Logout the current user by destroying the session

Clears the session data and destroys the session cookie

post/api/auth/logout

Response

Logout successful

messagestring required

Example response

{
  "message": "Logged out successfully"
}

Changes