latestOpenAPI 3.1.02026-08-22379259358.7 KB

c53108d35a70

admin

Revoke User Sessions

Bump users.session_version to invalidate the user's active JWTs.

Platform-admin only. Used for incident response when WorkOS Directory Sync can't deliver fast enough — phished credentials, urgent offboard, customer security request, etc. The next request from any of the user's sessions will fail with session_revoked; they can re-authenticate immediately to mint a fresh token.

post/api/admin/users/{user_id}/revoke-sessions

Path parameters

user_idinteger required

Response

Successful Response