edjx domain rules update

Updates a specific rule.

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

Argument

rule-id                       Rule identifier to be updated

Flags

    --destination <destination>     Optional. New rule destination
-d, --domain <domain-id>            Optional. Domain ID (default 00000000-0000-0000-0000-000000000000)
-e, --exact                         Optional. Use the match value to match against verbatim
    --match-value <match-value>     Optional. The match value
-o, --order <int>                   Required for MX rules. Priority order of a rule (default -1)
-p, --pattern                       Optional. Use the match value as a pattern to match against
    --redirect                      Optional. Sets the routing action value to redirect
    --rewrite                       Optional. Sets the routing action value to rewrite
    --rule-name <name>              Optional. Set the name of the rule

Example

root@edjx:~ # edjx domain rules update 79afb1a1-21d1-4029-82d0-d9a7913ded63 -p
Rule updated successfully
routing rule examples