api:v3:codebases:update-domain-pattern
Updates a domain pattern for the specified codebase. [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:codebases:update-domain-pattern [--task-wait] [--] <codebaseId> <patternId> <pattern>
Arguments
codebaseId
Required
Unique identifier for the codebase.
patternId
Required
Unique identifier for the domain pattern.
pattern
Required
The updated domain pattern to apply to all associated sites in this codebase, optionally followed by a single path segment. Both [site-name] and [environment-name] tokens are mandatory. Domain ≤ 200 chars excluding token placeholders; optional path max 255 chars matching ^/[A-Za-z0-9._-]+$. Additional semantic rules (no IPs, no forbidden suffixes, no wildcards, one pattern per codebase) are enforced at the service layer.
Options
--task-wait
Optional
Wait for this task to complete
Defaults to
false--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