---
title: "Delete an API key"
method: DELETE
path: "/api/token/{id}"
---

# Delete an API key

`DELETE /api/token/{id}`

Delete one API key by ID for the authenticated account. After deletion, the key value can no longer be used for model requests.

## Path parameters

- `id` integer, required

## Response `200`

Delete result.

- ResultEnvelope
  - `success` boolean, required — Whether the delete operation succeeded.
  - `message` string, required — Backend status message. The value is usually an empty string on success.

---

[API](https://skmtc.net/cometapi/apis/create-api-key.md) · [All operations](https://skmtc.net/cometapi/apis/create-api-key/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cometapi/create-api-key/revisions/0863102dbf34/schema)
