Skip to main content
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).

all
boolean

Response

User logged out successfully.