---
title: "Revoke an API token"
method: DELETE
path: "/account/api-tokens/{id}"
tags: ["API tokens"]
---

# Revoke an API token

`DELETE /account/api-tokens/{id}`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/account/api-tokens/{id}`
- Auth: `bearer` (a scheme the document does not define)

Takes effect within one request. Idempotent for already-revoked tokens.

## Path parameters

- `id` string, required

## Response `204`

## Other responses

- `401`: Not authenticated
- `404`: No such token in this account

---

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