Remove a query from a stream Technical Preview

DELETE /api/streams/{name}/queries/{queryId}

Remove a query from a stream. Noop if the query is not found on the stream.

[Required authorization] Route required privileges: manage_stream.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • name string Required
  • queryId string Required
application/json

Body

object object

Additional properties are NOT allowed.

DELETE /api/streams/{name}/queries/{queryId}
curl \
 --request DELETE 'https://localhost:5601/api/streams/{name}/queries/{queryId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: true"