---
title: "Delete an OpenSearch index"
method: DELETE
path: "/project/{project}/service/{service_name}/index/{index_pattern}"
tags: ["Service:_OpenSearch"]
---

# Delete an OpenSearch index

`DELETE /project/{project}/service/{service_name}/index/{index_pattern}`

## Path parameters

- `project` string, required
- `service_name` string, required
- `index_pattern` string, required

## Response `200`

Response

- ServiceOpenSearchIndexDeleteResponse — ServiceOpenSearchIndexDeleteResponse
  - `errors` object[] — List of errors occurred during request processing
    - `message` string, required — Printable error message
    - `more_info` string — URL to the documentation of the error
    - `status` integer, required — HTTP error status code
  - `message` string — Printable result of the request

## Other responses

- `403` — Operation not allowed
- `404` — Resource not found
- `409` — Request conflict
- `429` — The user has sent too many requests in a given amount of time ("rate limiting")
- `502` — Invalid responses from another server/proxy

---

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