---
title: "Delete token"
method: DELETE
path: "/token/{id}"
tags: ["Token"]
---

# Delete token

`DELETE /token/{id}`

Delete the personal access token with the given ID.

## Path parameters

- `id` string, required — ID of the personal token to delete.

## Response `200`

Personal access token was deleted successfully.

- object
  - `data` 'ok', required

## Other responses

- `401` — Unauthorized - Authentication is required and has failed or has not been provided.
- `404` — Not Found - The requested resource does not exist.
- `429` — Too Many Requests - You have made too many requests in a short period of time.
- `500` — Internal Server Error - Something went wrong on our end.

## Changes

- **2025-03-07** `979a6c40552c` — 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **2024-12-18** `416a8af6f912` — 4 info
  - api tag `Token` added
  - api tag `Access` removed
  - the `data` response property const value `ok` was added for the status `200`
  - removed the `ok` enum value from the `data` response property for the response status `200`
- **2024-12-17** `967b257f759f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/token/:id/delete.md)

---

[API](https://skmtc.dev/terminaldotshop/apis/terminal-api.md) · [All operations](https://skmtc.dev/terminaldotshop/apis/terminal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/terminaldotshop/terminal-api/revisions/ea86fe004b06/schema)
