Skip to main content

List DNS Zones belonging to a Project

GET/projects/{projectId}/dns-zones/
v2
GET
dns-list-dns-zones

Request

  • projectIdstring (uuid)
    required

    ID of the Project to list DNSZones for.

Responses

application/json

An array of DNSZone objects.

  • Array[
  • *object
    • domainstring
      required
    • idstring (uuid)
      required
    • recordSetobject
      required
      • cnameone of 2 alternatives
        required
      • combinedARecordsone of 3 alternatives
        required
      • mxone of 3 alternatives
        required
      • srvone of 2 alternatives
        required
      • txtone of 2 alternatives
        required
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/f0f86186-0a5a-45b2-aa33-502777496347/dns-zones