Files
elasticsearch-js/docs/reference/api/DeleteScriptRequest.md
2025-05-28 10:02:30 -05:00

10 lines
1.0 KiB
Markdown

# `DeleteScriptRequest` [interface-DeleteScriptRequest]
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { id?: never; master_timeout?: never; timeout?: never; }) | All values in `body` will be added to the request body. |
| `id` | [Id](./Id.md) | The identifier for the stored script or search template. |
| `master_timeout` | [Duration](./Duration.md) | The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. It can also be set to `-1` to indicate that the request should never timeout. |
| `querystring` | { [key: string]: any; } & { id?: never; master_timeout?: never; timeout?: never; } | All values in `querystring` will be added to the request querystring. |
| `timeout` | [Duration](./Duration.md) | The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. It can also be set to `-1` to indicate that the request should never timeout. |