---
title: "Revoke token by ID"
method: DELETE
path: "/v1/auth/token/{token_id}/"
---

# Revoke token by ID

`DELETE /v1/auth/token/{token_id}/`

## Request

- Base URL: `https://app.iconik.io/API/auth`
- URL: `https://app.iconik.io/API/auth/v1/auth/token/{token_id}/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-auth/docs/v1/auth/token/:token_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `token_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

Returns if token was revoked

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: Permission denied
- `404`: Token does not exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-auth.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-auth/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-auth/revisions/5dde985bb742?raw)
