Revoke all other sessions
DELETE
/_torii/users/me/sessions
const url = 'https://your-app.torii.so/_torii/users/me/sessions';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://your-app.torii.so/_torii/users/me/sessionsRevokes every active session for the user except the one making this request, so the caller stays signed in on this device.
Responses
Section titled “ Responses ”OK
Media type */*