Skip to content

Logs out the current user and delete **all** pending sessions for that user.

GET
/api/auth/v1/logout

Relies on the client to drop any auth tokens. We delete the session to avoid refresh tokens bringing a logged out session back to live.

redirect_to
string | null

Auth & refresh tokens.