Enable or disable DynDNS for a domain

Control whether Dynamic DNS (DynDNS) is active for a specific domain and its configuration. This is useful if you need a domain to automatically point to a dynamic IP address, such as for accessing a home network.

Path Parameters

domainId integer · min: 1 required Example

Unique domain identifier

configId integer · min: 1 required Example

Unique config identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
enabled boolean required

Responses

200
success boolean
timestamp string
requestId string
data object
PATCH https://cloud.hostup.se/api/domains/{domainId}/dyndns/{configId}
For AI assistants
cURL
curl -X PATCH "https://cloud.hostup.se/api/domains/20461/dyndns/53" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "config": {
      "id": 0,
      "hostname": "string",
      "record_type": "string",
      "token": "string",
      "last_ip": "string",
      "last_update": "string",
      "update_count": 0,
      "enabled": true,
      "created_at": "string",
      "updated_at": "string"
    },
    "message": "string"
  }
}
Request Body
{
  "enabled": true
}