Skip to main content

Update a domain

This endpoint allows you to update a domain

If you update the domain without specifying one or any contact handle, we’ll keep the existing one.

If you need a local presence for an extension, simply use the handle ‘PL_NS’ to use our local presence. Warning : This service will be billed.

Endpoint

PUT /registrar/v1/domains/{domain}

Parameters

NameLocationRequiredTypeDefault valueDescription
domainURLYesStringA complete domain name
adminBodyNoStringAdmin contact handle.
techBodyNoStringTech contact handle.
primary_hidden_nameserverBodyNoStringIf you want to use a primary hidden nameserver, you can use this field. If you do not have the right, please contact your account manager.
nameserversBodyNoarray[string]An array containing the list of DNS used for this domain. The primary DNS will use array key number 0, secondary one will use key ‘1’, etc...
authInfoBodyNoStringThe domain authinfo
languageBodyNoStringThe domain language,use the ISO 639-1 code
addonsBodyNoaddonsThis field is needed when registering some particular extensions. Check the addons Schema for more details

Response

Update domain

Example Request

PUT /registrar/v1/domains/exemple.com
Content-Type: application/json
Body
{
"admin": "NSINT-56423 or PL_NS",
"tech": "NSINT-56423 or PL_NS",
"primary_hidden_nameserver": "ns1.hidden.com",
"nameservers": {
"0": "ns1.test.com",
"1": "ns2.test.com",
"2": "ns3.test.com",

},
"authInfo": "NMS-123",
"language": "fr",
"addons": {
"trademarkNum": "TDM123"
}
}

Example Response

{
"message": "The domain name has been updated."
}