logoutAllSessions abstract method
- @POST.new('/auth/sessions/logout')
- @Body.new() required LogoutAuthSessionsRequest body,
Logout all sessions.
Invalidate all active authentication sessions for the current user. Requires sudo mode verification for security.
body - Name not received - field will be skipped.
Implementation
@POST('/auth/sessions/logout')
Future<void> logoutAllSessions({
@Body() required LogoutAuthSessionsRequest body,
});