younifyd
Menu

Delete a dangling index

Delete a dangling index

DELETE/_dangling/{index_uuid}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Delete a dangling index action (under indices).
  3. Fill in the fields below, then reference the result from later steps as {{deleteADanglingIndex.response.data}}.

Request

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

This parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index.

master_timeoutoneOf

The period to wait for a connection to the master node.

timeoutoneOf

The period to wait for a response.

Response

Returns 200 with an object. Read it in later steps with {{deleteADanglingIndex.response.data.<field>}}.

acknowledgedboolean

For a successful response, this value is always true. On failure, an exception is returned instead.

json
{
  "acknowledged": false
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.