Update domain settings of an existing domain in your account. Optional fields left empty will not be updated.
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;' \
--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 {
"status": 200,
"status_description": "Request successful"
}
Modified at 2025-08-05 14:56:58