Source Sites

Clone a Source site

Creates a clone of an existing Source CMS site. The cloned site will be created in the specified target subscription with a new label. Site configuration, components, and structure are replicated to the new site.

This is an asynchronous operation. The endpoint returns immediately with a 202 Accepted response.

Permissions: The authenticated user must have admin access to the source site and the ability to create sites in the target subscription.

post/source-sites/{sourceSiteId}/actions/clone

Request

Path parameters

sourceSiteIdstring required
Example:f47ac10b-58cc-4372-a567-0e02b2c3d479

Unique identifier for the Source site.

Request body

subscription_idstring uuid required

The UUID of the target subscription where the cloned site will be created. Must be a subscription the authenticated user has access to.

labelstring required

The human-readable label for the cloned site. Must start with a lowercase letter or number and can contain lowercase letters, numbers, hyphens, and spaces.

Example request

{
  "subscription_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "label": "my-cloned-site"
}

Response

Site clone operation accepted

_embeddedobject

Embedded resources (optional)

message'Site clone operation started.' required

Confirmation message indicating the clone operation has been initiated

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.