---
title: "Revoke a session"
method: POST
path: "/api/workos/revoke-session"
tags: ["Private Authentication"]
---

# Revoke a session

`POST /api/workos/revoke-session`

Revokes a WorkOS session by session ID. Used by the Chrome extension for logout.

## Request body

- object
  - `session_id` string, required

## Response `200`

Session revoked successfully

- object
  - `success` boolean

## Other responses

- `400` — Invalid session_id

---

[API](https://skmtc.net/dust-tt/apis/dust-api-documentation.md) · [All operations](https://skmtc.net/dust-tt/apis/dust-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dust-tt/dust-api-documentation/revisions/5fb378acc79f/schema)
