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/v2/domains/{domain}

Parameters

NameLocationRequiredTypeDefault valueDescription
domainURLYesStringA complete domain name
adminBodyNoStringAdmin contact handle.
techBodyNoStringTech contact handle.
nameserversBodyNoList of NameserverAn array containing the list of DNS used for this domain. Each DNS has a mandatory property name and some boolean options can also be added such as primary, hidden, synchronized.
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/v2/domains/exemple.com
Content-Type: application/json
Body
{
"admin": "NSINT-56423 or PL_NS",
"tech": "NSINT-56423 or PL_NS",
"nameservers": [
{
"name": "ns1.hidden.com",
"primary": true,
"hidden": true
},
{
"name": "ns1.test.com"
},
{
"name": "ns2.test.com"
},
{
"name": "ns3.test.com",
"synchronized": true
}
],
"authInfo": "NMS-123",
"language": "fr",
"addons": {
"trademarkNum": "TDM123"
}
}

Example Response

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