Auth

Logout all sessions

Invalidate all active authentication sessions for the current user. Requires sudo mode verification for security.

post/auth/sessions/logout

Request body

session_id_hashesstring[] required

Array of session ID hashes to log out (max 100)

passwordstring
mfa_method'totp' | 'webauthn'

MFA method to use for verification

mfa_codestring

MFA verification code from an authenticator app

webauthn_challengestring

WebAuthn challenge string

Response

No Content

Changes