删除数据流 API
编辑删除数据流 API
编辑resp = client.indices.delete_data_stream( name="my-data-stream", ) print(resp)
response = client.indices.delete_data_stream( name: 'my-data-stream' ) puts response
const response = await client.indices.deleteDataStream({ name: "my-data-stream", }); console.log(response);
DELETE /_data_stream/my-data-stream
请求
编辑DELETE /_data_stream/<data-stream>
路径参数
编辑-
<data-stream>
- (必需,字符串)要删除的数据流的逗号分隔列表。支持通配符(
*
)表达式。