Update data streams Added in 7.16.0
Performs one or more data stream modification actions in a single atomic operation.
POST
/_data_stream/_modify
curl \
-X POST http://api.example.com/_data_stream/_modify \
-H "Content-Type: application/json" \
-d '{"actions":[{"add_backing_index":{"data_stream":"string","index":"string"},"remove_backing_index":{"data_stream":"string","index":"string"}}]}'
Request examples
{
"actions": [
{
"add_backing_index": {
"data_stream": "string",
"index": "string"
},
"remove_backing_index": {
"data_stream": "string",
"index": "string"
}
}
]
}
Response examples (200)
{
"acknowledged": true
}