---
title: "Revoke Token"
method: POST
path: "/auth/{token}/revoke"
tags: ["🔑 Securing lnx"]
---

# Revoke Token

`POST /auth/{token}/revoke`

Revokes a given token, any requests after this with the given token
will be rejected.

## Response `200`

A standard conformation message.

- BasicResponse
  - `status` integer, required
  - `data` union, required
    - string
    - object

## Other responses

- `400` — The token you provided in the url does not exist.
- `401` — You lack the permissions to run this operation.
- `422` — This can never happen. (This is a docs issue)

---

[API](https://skmtc.dev/lnx-search/apis/lnx-docs.md) · [All operations](https://skmtc.dev/lnx-search/apis/lnx-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lnx-search/lnx-docs/revisions/3ff2d4054379/schema)
