Remove an addon domain

Remove an addon domain from your web hosting account. The domain's files and directory are retained, but the domain will no longer be accessible via the web server.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
domain string required
subdomain string required

Responses

200 Successful response

No response body

DELETE https://cloud.hostup.se/api/hosting/{accountId}/addon-domains
For AI assistants
cURL
curl -X DELETE "https://cloud.hostup.se/api/hosting/0/addon-domains" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{}
Request Body
{
  "domain": "string",
  "subdomain": "string"
}