REST API v1.1 - Managed DNS

Hosts - Get a blank host

This response may be useful to obtain a blank host, suitable for use as a template or retrieving default values for included fields. zone_id will be populated only if provided.

Request

Example
GET /api/1.1/hosts/new.xml

GET /api/1.1/zones/12345678/hosts/new.xml

GET /api/1.1/hosts/new.xml?zone_id=12345678

Response

Example body
<host>
  <data nil="true"/>
  <host-type>A</host-type>
  <hostname nil="true"/>
  <priority type="integer" nil="true"/>
  <ttl type="integer" nil="true"/>
</host>