Delete a dangling index
- DELETE /_dangling/{index_uuid}
If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling.
For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline.
- Cluster privileges:
manage
Path Parameters
-
index_uuidstringrequired -
The UUID of the index to delete. Use the get dangling indices API to find the UUID.
Query Parameters
-
accept_data_lossboolean · default: false This parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index.
-
master_timeoutstring Duration · default: 30s The period to wait for a connection to the master node.
-
timeoutstring Duration · default: 30s The period to wait for a response.
Response
application/json
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.