Run in Apidog
Update domain settings of an existing domain in your account. Optional fields left empty will not be updated. Optional dnssec.enabled false removes all DNSSEC keys. Optional forwarder updates the URL forwarder (enabled, type, url). Optional tags replaces the domain's tag set when provided.
Request Add parameter in header API-Key
Example: API-Key: ********************
Body Params application/json
{
"nameserver" : "default-mijnhost" ,
"is_locked" : true ,
"dnssec" : {
"flags" : 257 ,
"alg" : 13 ,
"protocol" : 3 ,
"pubKey" : "zIbIaqhKuwHLJ3kB7V7AsxhxiSpdMxtP0Dmo7b1g/4bDF9ZVV2XsyXcVHBZ5Dngcu1COS83WgLbNDC195atBcA=="
} ,
"profile" : {
"owner" : 100272 ,
"admin" : 100272 ,
"tech" : 100272 ,
"billing" : 100272 ,
"reseller" : 100272
}
} Request Code Samples
curl --location --request PUT 'https://mijn.host/api/v2/domains/domain.com' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"nameserver": "default-mijnhost",
"is_locked": true,
"dnssec": {
"flags": 257,
"alg": 13,
"protocol": 3,
"pubKey": "zIbIaqhKuwHLJ3kB7V7AsxhxiSpdMxtP0Dmo7b1g/4bDF9ZVV2XsyXcVHBZ5Dngcu1COS83WgLbNDC195atBcA=="
},
"profile": {
"owner": 100272,
"admin": 100272,
"tech": 100272,
"billing": 100272,
"reseller": 100272
}
}' Responses application/json Generate Code
{
"status" : 0 ,
"status_description" : "string" ,
"data" : {
"tags" : [
"string"
]
}
}
Modified at 2026-04-23 08:19:58