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

# Revoke an API token

`DELETE /v1/account/tokens/{id}`

## Request

- Base URL: `https://nanostudiopro.com/api`
- URL: `https://nanostudiopro.com/api/v1/account/tokens/{id}`
- Auth: HTTP bearer

Marks the token as revoked. Idempotent — calling it on an already-revoked token still returns 204. Note: the request you're making *right now* completes normally even if you revoke the token you're using; the next request with that token returns 401.

## Path parameters

- `id` string, required

## Response `204`

Token revoked (or already was).

## Other responses

- `401`: Missing or invalid token
- `404`: Token not found
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/nanostudiopro/apis/nano-studio-pro-api.md) · [All operations](https://skmtc.dev/nanostudiopro/apis/nano-studio-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nanostudiopro/apis/nano-studio-pro-api/revisions/b454211e598e?raw)
