Upsert a query to a stream
Technical Preview
Adds a query to a stream. Noop if the query is already present on the stream.
[Required authorization] Route required privileges: manage_stream.
PUT
/api/streams/{name}/queries/{queryId}
curl \
--request PUT 'https://localhost:5601/api/streams/{name}/queries/{queryId}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"kql":{"query":"string"},"title":"string"}'