---
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

---

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