Used to register a new domain name
For more information about DNS zone operations and the interactions with domains see our Knowledge Base.
Name | Type | Description | Restrictions |
---|---|---|---|
Domain Name | String | The domain name |
|
Name | Type | Required / Optional | Description | Restrictions |
---|---|---|---|---|
Quote | Boolean | Optional | If true, validate the request and request a quote for the action |
Name | Type | Required / Optional | Description | Restrictions |
---|---|---|---|---|
Customer | String | Required | The customer handle |
|
Registrant | String | Required | The handle of the contact to use as registrant |
|
Privacy protect | Boolean | Optional | If set to True, privacy protect will be enabled, defaults to the 'Privacy Protect' setting in your account | |
Period | Integer | Optional | The initial registration period for the domain name in months, defaults to the minimum period allowed by the registry | |
Auth code | String | Optional | The auth code for the domain name |
|
Language code | String | Optional | For IDN domains, the TLD specific language code for the domain name |
|
Auto renew | Boolean | Optional | If set to False, the domain will not be auto renewed upon expiration, defaults to True | |
Name serves | List <String> | Optional | List of name servers to use for the domain name |
|
Skip validation | Boolean | Optional | If set to True, contact validation will not be started. If validation is required before activation the domain will not be activated and get the PENDING_VALIDATION status. The domain will automatically be activated if validation is completed at a later time. This option cannot be used for TLD's that require pre validation. | |
Launch phase | String | Optional | The launch phase the domain is to be registered in, this field is only required if the TLD is not in General Availability yet |
|
zone | zone | Optional | DNS template to use for the domain name, transform an existing zone of the specified service into a managed zone or creates a new managed zone if not found. Vanity name servers can be specified on the "ns" field. |
|
contacts | List < contacts > | Optional | Domain contacts and their role | |
keyData | List < keyData > | Optional | DNSSEC Key data for domain | |
billables | List < billables > | Optional | Acknowledgment of billables for this request |
Name | Type | Required / Optional | Description | Restrictions |
---|---|---|---|---|
Service | Enum | Optional | DNS service to provision, defaults to BASIC |
Possible values:
|
Template | String | Optional | In case of a new zone, the template to use |
|
Link | Boolean | Optional | Unless false, the zone is linked to the template | |
Master | String | Optional | In case of a new zone, the IP address of the (hidden) master |
|
DNSSEC | Boolean | Optional | In case of a new zone, provision zone with DNSSEC |
Name | Type | Required / Optional | Description | Restrictions |
---|---|---|---|---|
protocol | Integer | Required | The DNSSEC protocol |
Possible values:
|
flags | Integer | Required | The DNSSEC flags |
Possible values:
|
algorithm | Integer | Required | The DNSSEC algorithm |
Possible values:
|
Public key | String | Required | The base64 encoded public key |
|
Name | Type | Required / Optional | Description | Restrictions |
---|---|---|---|---|
Product | String | Required | The product |
|
Action | Enum | Required | The action |
Possible values:
|
Quantity | Integer | Optional | The maximum quantity, default 1 |
Name | Type | Required / Optional | Description |
---|---|---|---|
Domain name | String | Required | The domain name |
Expiry date | Timestamp | Optional | The expiry date of the created domain name |
Status | List <Enum> | Optional |
Possible values:
|
Name | Type | Required / Optional | Description |
---|---|---|---|
Domain name | String | Required | The domain name |
Expiry date | Timestamp | Optional | The expiry date of the created domain name |
Status | List <Enum> | Optional |
Possible values:
|
Besides the generic errors these specific error responses can be expected.
Type | Status | Description |
---|---|---|
BillableAcknowledgmentNeededException | 400 Bad Request |
POST
/v2/domains/domainName
Content-Type: application/json
{}