api:v3:subscriptions:update-custom-rule
Updates a custom security rule. [development]
For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.
Usage
acli api:v3:subscriptions:update-custom-rule [--display_name DISPLAY_NAME] [--action ACTION] [--priority PRIORITY] [--domains DOMAINS] [--paths PATHS] [--] <subscriptionUuid> <customRuleId>
Arguments
subscriptionUuid
Required
The unique identifier of the subscription.
customRuleId
Required
The unique identifier of the custom security rule.
Options
--display_name
Required
The display name of the custom security rule.
--action
Required
The action applied when the rule matches.
--priority
Required
The priority order for the rule.
--domains
Required
The domains the rule applies to.
Defaults to
[]--paths
Required
The paths the rule applies to.
Defaults to
[]--help | -h
Optional
Display help for the given command. When no command is given display help for the `list` command
Defaults to
false--quiet | -q
Optional
Do not output any message
Defaults to
false--verbose | -v|-vv|-vvv
Optional
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Defaults to
false--version | -V
Optional
Display this application version
Defaults to
false--ansi
Optional
Force (or disable --no-ansi) ANSI output
--no-ansi
Optional
Negate the "--ansi" option
--no-interaction | -n
Optional
Do not ask any interactive question
Defaults to
false