---
title: "Revoke API token"
method: DELETE
path: "/v1/auth/tokens/{token_id}"
tags: ["Tokens"]
---

# Revoke API token

`DELETE /v1/auth/tokens/{token_id}`

## Request

- Base URL: `https://api.winnr.app`
- URL: `https://api.winnr.app/v1/auth/tokens/{token_id}`
- Auth: HTTP bearer

Revoke an API token. This action is irreversible.

## Path parameters

- `token_id` string, required

## Response `200`

Token revoked

- object
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
  - `data` object
    - `message` string

## Other responses

- `401`: Authentication required or token invalid
- `404`: Resource not found

---

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