Menu
Create or update an alias (POST /_aliases)
Create or update an alias
POST
/_aliasesUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Create or update an alias (POST /_aliases) action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{createOrUpdateAnAliasPostAliases.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"actions": [
{
"add": null,
"remove": null,
"remove_index": null
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{createOrUpdateAnAliasPostAliases.response.data.<field>}}.
{
"acknowledged": false
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?