---
title: "Delete API key"
method: DELETE
path: "/v1/api-keys/{id}"
tags: ["API Keys"]
---

# Delete API key

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

Delete an existing API key. Note: API keys cannot be updated - create a new one if needed.

## Path parameters

- `id` string, required

## Response `200`

API key deleted successfully

- object
  - `success` true, required
  - `data` object, required
    - `success` boolean, required
    - `message` string, required
  - `creditsCost` number — Credits consumed by this operation
  - `requestId` string, uuid, required — Unique request identifier for tracing
  - `timestamp` string, date-time, required — ISO timestamp when the response was generated

## Other responses

- `401` — Authentication required
- `404` — API key not found
- `422` — Validation error
- `500` — Internal server error

---

[API](https://skmtc.net/weblinq/apis/weblinq-api.md) · [All operations](https://skmtc.net/weblinq/apis/weblinq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/weblinq/weblinq-api/revisions/364690cf91b7/schema)
