v52

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0712082425.6 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