Uninstall WordPress

Remove a WordPress installation. Optionally removes files, database, and database user.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
installationId string required
removeFiles boolean
removeDatabase boolean
removeDatabaseUser boolean

Responses

200
success boolean
timestamp string
requestId string
data object
422
error string
message string
code string
timestamp string
requestId string
details array
POST https://cloud.hostup.se/api/hosting/{accountId}/wordpress/uninstall
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/hosting/17649/wordpress/uninstall" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "installationId": "string",
    "removeFiles": true,
    "removeDatabase": true,
    "removeDatabaseUser": true
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "accountId": "string",
    "cpanelUsername": "string",
    "installationId": "string",
    "removed": true
  }
}
Request Body
{
  "installationId": "string",
  "removeFiles": true,
  "removeDatabase": true,
  "removeDatabaseUser": true
}