Toggle automatic DNSSEC enrollment. Send action: "include" to re-enroll the domain or action: "exclude" to opt the domain out; unknown fields are rejected so clients do not assume force or refresh options exist. include does not bypass nameserver propagation or the 72-hour cooldown after nameserver changes: the…
Toggle automatic DNSSEC enrollment. Send action: "include" to re-enroll the domain or action: "exclude" to opt the domain out; unknown fields are rejected so clients do not assume force or refresh options exist. include does not bypass nameserver propagation or the 72-hour cooldown after nameserver changes: the returned state may still be pending or blocked with blockedUntil, blockReason, and nameserversChangedAt. Use this automatic flow for domains delegated to HostUp-managed nameservers such as primary.ns.hostup.se and secondary.ns.hostup.se; use manual POST /api/v2/domains/{id}/dnssec only when an external DNS provider or registrar workflow requires caller-supplied DS/KEY data.
write:domains
Use Authorization: Bearer <token> for API keys. Dashboard sessions may also use hostup_session.
id string required
Example: dom_01hxa3b4c5d6e7f8g9h0j1k2m3 Public domain ID. Get it from GET /api/v2/domains `data[].id`. Do not invent this value; use the exact ID returned by the referenced API response.
Accept Example Content-Type Example action string · enum required
· Example: exclude exclude include domainName string | null required
· Example: example.se status string · enum required
· Example: blocked active inactive excluded pending error blocked reason string | null required
· Example: Nameservers changed recently; automatic DNSSEC is paused until the cooldown period ends. isEnabled boolean required
· Example: true isBlocked boolean required
· Example: true blockedUntil string | null required
· Example: 2026-04-30T12:00:00.000Z blockReason string | null required
· Example: Nameservers changed recently; automatic DNSSEC is paused until the cooldown period ends. lastCheckedAt string | null required
· Example: 2026-04-27T12:00:00.000Z lastError string | null required nameserversChangedAt string | null required
· Example: 2026-04-26T09:30:00.000Z type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on `detail`.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when `code` is `invalid_request`.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object https://cloud.hostup.se/api/v2/domains/{id}/dnssec-auto curl -X POST "https://cloud.hostup.se/api/v2/domains/dom_01hxa3b4c5d6e7f8g9h0j1k2m3/dnssec-auto" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"action": "exclude"
}' {
"domainName": "example.se",
"status": "blocked",
"reason": "Nameservers changed recently; automatic DNSSEC is paused until the cooldown period ends.",
"isEnabled": true,
"isBlocked": true,
"blockedUntil": "2026-04-30T12:00:00.000Z",
"blockReason": "Nameservers changed recently; automatic DNSSEC is paused until the cooldown period ends.",
"lastCheckedAt": "2026-04-27T12:00:00.000Z",
"lastError": null,
"nameserversChangedAt": "2026-04-26T09:30:00.000Z"
} {
"action": "exclude"
}