Skip to content
Torii docs

Revoke a specific session

DELETE
/_torii/users/me/sessions/{sessionId}
curl --request DELETE \
--url https://your-app.torii.so/_torii/users/me/sessions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Revokes one of the user’s sessions by id (e.g. another device). To sign out the CURRENT device, use POST /_torii/auth/logout, which also clears the session cookie and its hint; this endpoint does not touch the caller’s cookies.

sessionId
required
string format: uuid

OK