Skip to content

Logout

POST
/_torii/auth/logout
curl --request POST \
--url 'https://your-app.toriiauth.eu/_torii/auth/logout?_is_native=false&all=false'

Revokes the presented session. With all=true (web only) it also signs out every account on this browser: revokes all live sessions on the client cookie’s client, expires the client, and clears the client cookie. Native ignores all.

Origin
string
Host
string
X-Torii-Session-Token
string
_is_native
boolean
all
boolean

OK