Menu
Update data streams
Update data streams
POST
/_data_stream/_modifyUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Update data streams action (under data stream).
- Fill in the fields below, then reference the result from later steps as
{{updateDataStreams.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"actions": [
{
"add_backing_index": null,
"remove_backing_index": null
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{updateDataStreams.response.data.<field>}}.
{
"acknowledged": false
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?