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

1.0 KiB

DeleteScriptRequest [interface-DeleteScriptRequest]

Name Type Description
body string ({ [key: string]: any; } & { id?: never; master_timeout?: never; timeout?: never; })
id Id The identifier for the stored script or search template.
master_timeout Duration 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 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.