Clone WordPress installation

Create a copy of an existing WordPress installation on a new domain or directory.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
installationId string required
targetDomain string required
targetDirectory string

Responses

200 Successful response

No response body

POST https://cloud.hostup.se/api/hosting/{accountId}/wordpress/clone
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/hosting/0/wordpress/clone" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "installationId": "string",
    "targetDomain": "string",
    "targetDirectory": "string"
  }'
Response
{}
Request Body
{
  "installationId": "string",
  "targetDomain": "string",
  "targetDirectory": "string"
}