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.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

application/json

Body

object object

Additional properties are NOT allowed.

DELETE /api/streams/{name}/queries/{queryId}
curl \
 --request DELETE 'http://localhost:5622/api/streams/{name}/queries/{queryId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: true"
Request examples
# Headers
kbn-xsrf: true

# Payload
{}