Register a domain
Changed onRegisters a domain name.
Your account must be active for this command to complete successfully. You will be automatically charged the registration fee upon successful registration, so please be careful with this command.
When registering 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.
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
The account id
The domain name or id
Request body
Example request
{
"registrant_id": 1,
"trustee": true
}Response
Domain successfully registered
Example response
{
"data": {
"id": 1,
"domain_id": 999,
"registrant_id": 2,
"period": 1,
"state": "new",
"auto_renew": false,
"whois_privacy": false,
"trustee": false,
"created_at": "2016-12-09T19:35:31Z",
"updated_at": "2016-12-09T19:35:31Z"
}
}Changes
- breaking
removed the required property
/from the response with the status - warning
removed the request property
- info
added the new optional request property
- info
added the required property
/to the response with the status
- breaking
- info
added the new optional request property
- info
added the required property
/to the response with the status
- info