Deleting an Events Rule

Remove a rule from a compartment.

    1. Open the navigation menu and click Observability & Management. Under Events Service, click Rules.
    2. Select the Compartment from the list.

      All events rules in that compartment are listed in tabular form.

    3. Select the events rule you want to delete.

      The Events Rule Details page appears.

    4. Click Delete under More Actions.
    5. Confirm the deletion when prompted.

    The Event's Rules page reappears with the events rule you deleted omitted.

  • Use the oci events rule delete command and required parameters to delete a rule:

    oci events rule delete --rule-id rule_ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the DeleteRule operation to delete a rule.