---
title: "Delete Index"
method: DELETE
path: "/api/v1/index/{index_id}"
tags: ["Index"]
---

# Delete Index

`DELETE /api/v1/index/{index_id}`

Delete an index within the directory associated with the specified API key and return the number of remaining indices.

## Path parameters

- `index_id` integer, required

## Headers

- `apikey` string, required

## Response `200`

Index deleted, returns the number of indices

## Other responses

- `400` — index_id invalid or missing
- `401` — api_key missing
- `404` — api_key does not exists

## Changes

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

[Change history](https://skmtc.dev/seekstorm/apis/seekstorm-rest-api-documentation/changes/api/v1/index/:index_id/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)
