edjx domain rules update

Updates a specific rule.

You must know the Rule ID to execute this command.

Usage

edjx domain rules update <rule-UUID>
[    --destination <destination>]
[-d, --domain <domain-UUID>]
[-e, --exact]
[    --match-value <match-value>]
[-o, --order <value>]
[-p, --pattern]
[    --redirect]
[    --rewrite]
[    --rule-name <rule-name>]

Options

Option Required Type Description

<rule-UUID>

Yes

UUID

The rule UUID to update.

--destination <destination>

No

string

Sets the Routing Destination

-d, --domain <domain-UUID>

No

UUID

The domain UUID to associate with the record.
Default: 00000000-0000-0000-0000-000000000000

-e, --exact

No

Use the match value to match against verbatim.

--match-value <match-value>

No

string

Sets the Routing Match Type.

-o, --order <value>

Required for MX rules.

integer

Priority order of a rule.
Default: -1

-p, --pattern

No

Use the match value as a pattern to match against.

--redirect

No

Sets the routing action value to redirect.

--rewrite

No

Sets the routing action value to rewrite.

--rule-name <rule-name>

No

string

Sets the rule name.

Global Flags

Option Required Type Description

-h, --help

No

Displays inline help for the command.

--config <file-location>

No

string

Location of client configuration file (default file path is $HOME/.edjx/.edjx.yaml).

Update rule to use pattern match

edjx domain rules update <rule-UUID> -p