v1

latestOpenAPI 3.1.12026-07-17111158225.7 KB
domains

Create a domain

Creates a domain and the corresponding zone into the account.

When creating a domain using Solo or Teams subscription, the DNS services for the zone will be automatically enabled and this will be charged on your following subscription renewal invoices.

post/{account}/domains

Path parameters

accountinteger required

The account id

Request body

namestring required

Response

Domain created.

Example response

{
  "data": {
    "id": 1,
    "account_id": 1010,
    "registrant_id": null,
    "name": "example-alpha.com",
    "unicode_name": "example-alpha.com",
    "state": "hosted",
    "auto_renew": false,
    "private_whois": false,
    "expires_at": null,
    "trustee": false,
    "created_at": "2014-12-06T15:56:55Z",
    "updated_at": "2015-12-09T00:20:56Z"
  }
}