Path parameters
- index_uuid
string Required The UUID of the index to delete. Use the get dangling indices API to find the UUID.
Query parameters
- accept_data_loss
boolean Required This parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index.
- master_timeout
string Specify timeout for connection to master
Values are
-1
or0
. - timeout
string Explicit operation timeout
Values are
-1
or0
.
DELETE /_dangling/{index_uuid}
Console
DELETE /_dangling/<index-uuid>?accept_data_loss=true
resp = client.dangling_indices.delete_dangling_index(
index_uuid="<index-uuid>",
accept_data_loss=True,
)
const response = await client.danglingIndices.deleteDanglingIndex({
index_uuid: "<index-uuid>",
accept_data_loss: "true",
});
response = client.dangling_indices.delete_dangling_index(
index_uuid: "<index-uuid>",
accept_data_loss: "true"
)
$resp = $client->danglingIndices()->deleteDanglingIndex([
"index_uuid" => "<index-uuid>",
"accept_data_loss" => "true",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_dangling/<index-uuid>?accept_data_loss=true"