v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
Private Authentication

Revoke a session

Revokes a WorkOS session by session ID. Used by the Chrome extension for logout.

post/api/workos/revoke-session

Request body

session_idstring required

Response

Session revoked successfully

successboolean