Unlink a rule from a stream Technical Preview

DELETE /api/streams/{name}/rules/{ruleId}

Spaces method and path for this operation:

delete /s/{space_id}/api/streams/{name}/rules/{ruleId}

Refer to Spaces for more information.

Unlinks a rule from a stream. Noop if the rule is not linked to 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
  • ruleId string Required
application/json

Body

object object

Additional properties are NOT allowed.

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