Turn off the parking page
DELETE /api/v2/domains/{id}/dns/parking
Removes the Hostup parking page from the domain. The call deletes the parking A record at the root of the DNS zone. Every other record stays as it is. The call is idempotent: it returns 204 when no parking page is active.
Authentication: An API key with the scope write:dns. About keys and scopes
Request
Path parameters
idstringrequiredThe domain ID (
dom_…).Example
curl -X DELETE "https://cloud.hostup.se/api/v2/domains/dom_01hxa3b4c5d6e7f8g9h0j1k2m3/dns/parking" \ -H "Authorization: Bearer $HOSTUP_API_KEY"Responses
204 No Content. The parking page is no longer active, or was already absent.
Errors
Errors are Problem Details with a stable code. Branch on the code, not on the text.
| 400 | Invalid request. The response body is an RFC 7807 Problem Details document. |
| 401 | Unauthorized. Authentication is required. |
| 403 | Forbidden. The API key lacks a required scope or covers only some DNS records. This call changes the A record at the root of the zone. The key must cover that record. |
| 404 | Not found. The resource does not exist or is not owned by the caller; code names the missing resource: domain_not_found, domain_dns_not_found. |
| 429 | Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers. |
| 500 | Internal error. Retry later or contact support if the issue persists. |