provider usersusers POST /api/users/{uuid}/login_sessions/revoke_others/
@utdk/posthog /api/users/{uuid}/login_sessions/revoke_others/
users_login_sessions_revoke_others_create
Revoke every login session for the current user except the one making this request. Self-only. Requires recent auth (TimeSensitiveActionPermission) so a stolen cookie can't weaponize the "log out everywhere else" lock-out, and is blocked while impersonating.
uuid path required
string

Try it

Authentication
Configure credentials for PostHog API
usersLoginSessionsRevokeOthersCreate
POST/api/users/{uuid}/login_sessions/revoke_others/
Revoke every login session for the current user except the one making this request. Self-only. Requires recent auth (TimeSensitiveActionPermission) so a stolen cookie can't weaponize the "log out everywhere else" lock-out, and is blocked while impersonating.

Parameters

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.usersLoginSessionsRevokeOthersCreate()