Log Out Of All Sessions
POST
/v1/users/logout/all
const url = 'https://example.com/api/v1/users/logout/all';const options = {method: 'POST', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/users/logout/all \ --header 'Authorization: <Authorization>'Revokes every session token for the authenticated user across all devices, including the current one. Use this to invalidate a session token that may have been leaked or stolen. API keys are stored separately and are not affected; revoke them from the API keys page.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”No Content