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
| Name | Location | Required | Type | Default value | Description |
|---|---|---|---|---|---|
| domain | URL | Yes | String | A complete domain name | |
| admin | Body | No | String | Admin contact handle. | |
| tech | Body | No | String | Tech contact handle. | |
| nameservers | Body | No | List of Nameserver | An 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. | |
| authInfo | Body | No | String | The domain authinfo | |
| language | Body | No | String | The domain language,use the ISO 639-1 code | |
| addons | Body | No | addons | This 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."
}