sites

Create Site Clone

Create a copy of the specified site.

post/sites/{site_id}/clone

Request

Path parameters

site_idinteger required

Request body

namestring
stagingboolean
sandboxboolean
duplikitboolean
datacenter_codestring

Response

Successful Response

messagestring
dataobject

Example response

{
  "message": "Success",
  "data": {
    "id": 1315,
    "created": "2022-02-17T21:48:03.000Z",
    "accountId": 2,
    "clonedFromId": 500,
    "collaboratorsCount": 0,
    "datacenterCode": "DCA",
    "datacenterName": "Washington, DC, USA",
    "displayName": "five-hundred-clone",
    "domainsCount": 0,
    "ecommerce": false,
    "edgeCache": "disabled",
    "edgeCacheDefensiveMode": false,
    "edgeCacheDefensiveModeUntil": null,
    "favorite": false,
    "ipAddress": "199.16.172.247",
    "ipAddressOne": "199.16.172.247",
    "ipAddressTwo": "199.16.173.144",
    "name": "five-hundred-clone",
    "state": "cloning",
    "url": "five-hundred-clone.mystagingwebsite.com",
    "staging": true,
    "sandbox": false,
    "duplikit": false,
    "sftpDomain": "sftp.pressable.com",
    "phpVersion": null,
    "wordpressVersion": "Current Stable Release (6.2)",
    "tags": [],
    "wpEnvironmentType": "staging",
    "lightWeight404": false,
    "multisiteSupport": false
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.