Domain Patterns

Updates a domain pattern for the specified environment.

put/environments/{environmentId}/domain-patterns/{patternId}

Request

Path parameters

environmentIdstring required

Unique identifier for the environment.

patternIdstring required

Unique identifier for the domain pattern.

Request body

patternstring required

The updated domain pattern to apply to all associated sites in this environment, optionally followed by a single path segment. The [site-name] token is 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 environment) are enforced at the service layer.

Response

Domain pattern update initiated.

_embeddedobject

Embedded resources (optional)

message'The domain pattern update is being applied to all associated sites in this environment.' required

Confirmation message that the domain pattern update is being applied.

Example response

{
  "_links": {
    "self": {
      "href": "https://api.acquia.com/v3/resources/1"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.