删除存储脚本 API
编辑删除存储脚本 API
编辑resp = client.delete_script( id="my-stored-script", ) print(resp)
response = client.delete_script( id: 'my-stored-script' ) puts response
const response = await client.deleteScript({ id: "my-stored-script", }); console.log(response);
DELETE _scripts/my-stored-script
请求
编辑DELETE _scripts/<script-id>
路径参数
编辑-
<script-id>
- (必需,字符串)存储脚本或搜索模板的标识符。