REST API v1.1 - Managed DNS

Host templates - Get a blank host template

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

Request

Example
GET /api/1.1/zone_templates/12345678/host_templates/new.xml

GET /api/1.1/host_templates/new.xml

GET /api/1.1/host_templates/new.xml?zone_template_id=12345678

Response

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