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

# Revoke an API token

`DELETE /api/tokens/{id}`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/tokens/{id}`
- Auth: HTTP bearer

Permanently revokes an API token. Any applications using this token will immediately lose access. This action cannot be undone.

## Path parameters

- `id` string, required

## Response `200`

Token revoked successfully

- object
  - `success` boolean

## Other responses

- `401`: Missing or invalid API key
- `404`: Token not found
- `429`: Rate limit exceeded - wait and retry

---

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