---
title: "Global Token Revocation"
method: POST
path: "/restv1/global-token-revocation"
tags: ["Global Token Revocation"]
---

# Global Token Revocation

`POST /restv1/global-token-revocation`

Revoke all tokens for user (requires global_token_revocation scope).

## Request body

- object
  - `sub_id` object
    - `format` string, required — any user attribute that identifies user. E.g. uid or mail.
    - `id` string, required

## Response `204`

OK - Returned if request was processed successfully. Means user is correctly idendified and AS cleared tokens and sessions associated with it.

## Other responses

- `401` — Unauthorized access request.
- `500` — Internal error occured. Please check log file for details.

## Changes

- **2026-04-08** `e60fb909da19` — 1 info
  - endpoint added
- **2022-03-25** `d6fc0677410c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/janssenproject/apis/janssen-authorization-server/changes/restv1/global-token-revocation/post.md)

---

[API](https://skmtc.dev/janssenproject/apis/janssen-authorization-server.md) · [All operations](https://skmtc.dev/janssenproject/apis/janssen-authorization-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/janssenproject/janssen-authorization-server/revisions/2a44b59497de/schema)
