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

---

[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/versions/e27c994d79ce/schema)
