Create WordPress staging environment

Create a staging copy of WordPress for testing before publishing changes live.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
installationId string required
stagingDomain string required
stagingDirectory string

Responses

200 Successful response

No response body

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