---
title: "Delete API Key"
method: DELETE
path: "/api/v1/apikey"
tags: ["API Key"]
---

# Delete API Key

`DELETE /api/v1/apikey`

Deletes an API key and returns the number of remaining API keys.
Expects the Base64 encoded master API key in the header.
WARNING: This will delete all indices and documents associated with the API key.

## Headers

- `apikey` string, required

## Response `200`

API key deleted, returns number of remaining API keys

## Other responses

- `401` — master_apikey missing

## Changes

- **2026-06-22** `39cce1ef7d95` — 1 info
  - api operation id `delete_apikey_api` removed and replaced with `delete_api_key`
- **2026-06-21** `4cfd9d95648c` — 1 info
  - api operation id `delete_api_key` removed and replaced with `delete_apikey_api`

[Change history](https://skmtc.dev/seekstorm/apis/seekstorm-rest-api-documentation/changes/api/v1/apikey/delete.md)

---

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