edjx domain rules delete

Delete a rule from a specific domain.

You must know the Rule ID to execute this command.
edjx domain rules delete <rule-id> [flags]


rule-id         Rule identifier to be deleted.


-d, --domain <domain-id>           Optional. Domain ID (default 00000000-0000-0000-0000-000000000000)


To delete a specific domain:

  1. Make sure you are in the domain view.

    root@edjx:~ # edjx config domain -i
  2. View the rules within that domain.

    root@edjx:~ # edjx domain rules list
  3. Copy the Rule ID of the rule you want to delete.

    root@edjx:~ # edjx domain rule delete c998c824-4269-4cd7-965d-e1c1d1e6a000
    DNS Record Deleted successfully