Site Instances

Associates a site with the specified environment.

post/environments/{environmentId}/site-instances

Request

Path parameters

environmentIdstring required

Unique identifier for the environment.

Request body

site_idstring required

The UUID of the site to associate with this environment.

source_environment_idstring

The UUID of the environment to copy files and database from during creation.

source_site_idstring

The UUID of the source site to copy files from during creation.

hook_argumentsstring

Additional arguments to pass to deployment hooks during creation.

Response

Site instance creation started

_embeddedobject

Embedded resources (optional)

message'Site instance creation started.' required

Confirmation message that site association has been started.

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.