Sites
Duplicates a site from another given site.
post/sites/{siteId}/actions/duplicate
Request
- Base URLhttps://api.acquia.com/v3
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/acquia/apis/acquia-cloud-platform-api/docs/sites/:siteId/actions/duplicate/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
siteIdstring required
Example:12345678-1234-1234-1234-123456789012
Unique identifier for the site
Request body
Example request
{
"environment_mapping": [
"0ebce493-9d09-479d-a9a8-138a206fa687:a1b2c3d4-e5f6-7890-abcd-ef1234567890"
],
"site_name": "dupsite",
"site_label": "Duplicated Site",
"site_id": "f1a2b3c4-d5e6-7890-abcd-ef1234567890",
"hook_argument": "--verbose"
}Response
Site duplication 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.