domains
Create a domain
Changed onCreates 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
Request
- Base URLhttps://api.dnsimple.com/v2
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountinteger required
The account id
Request body
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"
}
}Changes
- breaking
removed the required property
/from the response with the status - info
added the required property
/to the response with the status
- breaking
- info
added the required property
/to the response with the status
- info