younifyd
Menu

Delete an alias (DELETE /{index}/_alias/{name})

Delete an alias

DELETE/{index}/_alias/{name}

Use it in a workflow

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

Request

Path parameters

indexoneOfrequired

Comma-separated list of data streams or indices used to limit the request. Supports wildcards (`*`).

nameoneOfrequired

Comma-separated list of aliases to remove. Supports wildcards (`*`). To remove all aliases, use `*` or `_all`.

Query parameters

master_timeoutoneOf

Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

timeoutoneOf

Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

Response

Returns 200 with a any. Read it in later steps with {{deleteAnAliasDeleteIndexAliasName.response.data.<field>}}.

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

Delete an alias (DELETE /{index}/_alias/{name}) — Elasticsearch — Documentation