users
users

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.

post/api/users/{uuid}/login_sessions/revoke_others/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/users/{uuid}/login_sessions/revoke_others/
  • Auth: none declared

Path parameters

uuidstring uuid required

Response

revoked_countinteger required

Number of other login sessions that were revoked.

Changes

No recorded changes to this operation across all 1 revision of this API.