---
title: "Delete an API key"
method: DELETE
path: "/api/temporary-keys/{id}/"
tags: ["temporaryApiKeys"]
---

# Delete an API key

`DELETE /api/temporary-keys/{id}/`

Delete an API key. This action is irreversible.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Other responses

- `401` — Unauthorized
- `404` — Not Found

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-31** `c26d550029f8` — 2 info
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/temporary-keys/:id/delete.md)

---

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