---
title: "Revoke one of the signed-in user's sessions"
method: POST
path: "/auth/account/sessions/revoke"
tags: ["Auth"]
---

# Revoke one of the signed-in user's sessions

`POST /auth/account/sessions/revoke`

## Request

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

Hosted browser-session route (cookie + double-submit CSRF + same-origin). Revokes a single session by id, scoped to the actor (cannot revoke another user's session).

## Request body

- object
  - `session_id` string, required

## Response `200`

{ ok, revoked }

- 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)
