Zones endpoint

GET /api/v1/servers/:server_id/zones

Get all zones from the server.

Query Parameters:
 
  • server_id – The name of the server
POST /api/v1/servers/:server_id/zones

Creates a new domain. The client body must contain a Zone.

Query Parameters:
 
  • server_id – The name of the server
GET /api/v1/servers/:server_id/zones/:zone_id

Returns zone information.

Query Parameters:
 
  • server_id – The name of the server
  • zone_id – The id number of the Zone
DELETE /api/v1/servers/:server_id/zones/:zone_id

Deletes this zone, all attached metadata and rrsets.

Query Parameters:
 
  • server_id – The name of the server
  • zone_id – The id number of the Zone