---
title: "Revoke all OAuth sessions (refresh tokens) for the current user across all clients."
method: POST
path: "/oauth/revoke-all"
tags: ["OAuth"]
---

# Revoke all OAuth sessions (refresh tokens) for the current user across all clients.

`POST /oauth/revoke-all`

Returns:
JSON with message and count of revoked sessions

## Response `200`

OK

- RevokeAllSessionsResponse
  - `message` string, required
  - `count` integer, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `405` — Method not allowed
- `409` — Conflict
- `500` — Internal server error
- `default` — Default error response

---

[API](https://skmtc.net/archera/apis/archera-ai-api.md) · [All operations](https://skmtc.net/archera/apis/archera-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/archera/archera-ai-api/revisions/ed4f8fa35f31/schema)
