Domain Patterns

Updates a domain pattern for the specified codebase.

put/codebases/{codebaseId}/domain-patterns/{patternId}

Request

Path parameters

codebaseIdstring required

Unique identifier for the codebase.

patternIdstring required

Unique identifier for the domain pattern.

Request body

patternstring 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.

Response

Domain pattern update initiated.

_embeddedobject

Embedded resources (optional)

message'Saved custom domain pattern. Updating existing generated domains.' 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.