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

# Revoke an API token

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

## Request

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

Deactivates (soft-deletes) the token. The raw token can no longer authenticate after this call.

## Response `200`

Token revoked

- object
  - `data` object
    - `id` integer
    - `active` boolean

## Other responses

- `401`: Unauthorized
- `404`: Token not found or not owned by current user

---

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