Logs out the authenticated user by invalidating their current session.
Authentication
Logs out the authenticated user by invalidating their current session.
POST
Logs out the authenticated user by invalidating their current session.
Body
The logout request containing options for logout scope (current session or all sessions).
Response
User logged out successfully.