Skip to content
LogoLogo

Log out the current browser session

Log out the current browser session

POST/api/v1/auth/logout

Revokes the current browser session and expires both browser-session cookies. The CSRF header must exactly match the host-only CSRF cookie and the token bound to the authenticated session.

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Responses