---
title: "Delete an index"
method: DELETE
path: "/api/v1/logs/config/indexes/{name}"
tags: ["Logs Indexes"]
---

# Delete an index

`DELETE /api/v1/logs/config/indexes/{name}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/logs/config/indexes/{name}`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Delete an existing index from your organization. Index deletions are permanent and cannot be reverted.
You cannot recreate an index with the same name as deleted ones.

## Path parameters

- `name` string, required

## Response `200`

OK

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v1-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/revisions/ca5871004d26?raw)
