---
title: "Revoke a token"
method: DELETE
path: "/api/token/{id}"
---

# Revoke a token

`DELETE /api/token/{id}`

## Request

- Base URL: `https://charm.ing`
- URL: `https://charm.ing/api/token/{id}`
- Auth: HTTP bearer

The legacy `/token/{id}` path 308s here.

## Response `200`

Revoked

- OkResponse: Minimal success acknowledgement. `ok: true` confirms the mutation landed.
  - `ok` true, required

## Other responses

- `401`: User-scoped auth required.
- `404`: Token not found.

---

[API](https://skmtc.dev/charm/apis/charming-api.md) · [All operations](https://skmtc.dev/charm/apis/charming-api/llms.txt) · [OpenAPI document](https://skmtc.dev/charm/apis/charming-api/revisions/a9d06c419b3a?raw)
