---
title: "Revoke Gym Token"
method: POST
path: "/auth/gym-tokens/{jti}/revoke"
---

# Revoke Gym Token

`POST /auth/gym-tokens/{jti}/revoke`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/auth/gym-tokens/{jti}/revoke`
- Auth: none declared

Revoke one World-Sim Gym token by its jti (idempotent): the person it was minted for, or a global
admin. The jti is then listed at GET /modules/world-sim/revoked until the token expires. 404 while
AGENT_MDX_GYM_SAMPLE is off, and for a jti that is not a gym token of the caller's.

## Path parameters

- `jti` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
