---
title: "Revoke all of the user's sessions except the current one"
method: POST
path: "/auth/account/sign-out-everywhere"
tags: ["Auth"]
---

# Revoke all of the user's sessions except the current one

`POST /auth/account/sign-out-everywhere`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/auth/account/sign-out-everywhere`
- Auth: API key in cookie `__Host-Http-r402_session`

Hosted browser-session route (cookie + double-submit CSRF + same-origin). Revokes every other session; the current session is preserved.

## Response `200`

{ ok, revoked_count }

- object

## Other responses

- `401`: Missing or invalid authentication. Run402-originated JSON bodies use the canonical ErrorEnvelope.

---

[API](https://skmtc.dev/run402/apis/run402-api.md) · [All operations](https://skmtc.dev/run402/apis/run402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/run402/apis/run402-api/revisions/893607557f50?raw)
