Zum Hauptinhalt springen

Create a DNS Zone for a verified Ingress in a Project

POST/v2/projects/{projectId}/dns-zones/
API version
v2
Request method
POST
Operation ID
dns-create-project-dns-zone

Creates a DNSZone for a verified Ingress in a Project. The service resolves whether the domain is a root zone or a subzone and creates it accordingly. This lets a project prepare DNS for a domain that is not yet hosted at mittwald once ownership has been proven via a verified vHost.

Request​

  • projectIdstring
    required

    ID of the Project to create the DNSZone in.

Responses​

Format
application/json
Beschreibung

The ID of the created DNSZone.

  • idstring (uuid)
    required

Usage examples​

$ curl \
--fail \
--location \
-X POST \
-d '{"name":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/projects/string/dns-zones