---
title: "Delete a Metadata Index"
method: DELETE
path: "/v1/settings/metadata-indexes/entities/{entity_name}/key/{index_key}"
tags: ["Metadata Indexes API"]
---

# Delete a Metadata Index

`DELETE /v1/settings/metadata-indexes/entities/{entity_name}/key/{index_key}`

Use this endpoint to delete a metadata index by specifying the entity name and the index key. The index will be permanently removed.

## Path parameters

- `entity_name` 'organization' | 'ledger' | 'asset' | 'segment' | 'portfolio' | 'account' | 'transaction' | 'operation' | 'account_type' | 'operation_route' | 'transaction_route', required
- `index_key` string, required

## Headers

- `Content-Type` string
- `X-Request-Id` string, uuid
- `Authorization` string

## Response `204`

Indicates that the metadata index was successfully deleted.

## Other responses

- `400`
- `401` — Unauthorized
- `403` — Forbidden
- `404`
- `500` — Internal Server Error

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/revisions/25daba385532/schema)
