Create a DNS Zone

Creates a new DNS Zone for the tenant from the supplied definition. Returns a reference to the newly created Zone, including its identifier and canonical URL. A tenant may hold at most a per-customer maximum number of DNS Zones (value TBD); a request that would exceed this per-customer cap is rejected with 400 LIST_SIZE_EXCEEDED.

Required Permissions: ztna:create

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for creating a DNS Zone.

string
required
length between 1 and 100

Human-readable name of the DNS Zone. 1 to 100 characters.

domains
array of strings
required
length between 1 and 100

The list of domains served by this DNS Zone. Must contain between 1 and 100 entries.

domains*

A fully qualified domain served by the Zone.

nameServers
array of objects
required
length between 1 and 20

The list of name servers that resolve queries for this Zone. Must contain between 1 and 20 entries.

nameServers*

A name server entry that resolves queries for a DNS Zone.

string
required
length ≥ 1

IPv4 address of the name server.

string
required
length ≥ 1

Public identifier for the gateway. This is the public-facing name for the internal route identifier.

Headers
uuid
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

The tenant UUID identifier. Send it to address tenant scope. This API is also published at environment scope — send that scope's header instead. Send exactly one scope header per request.

uuid
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

The environment UUID identifier. Send it to address environment scope. This API is also published at tenant scope — send that scope's header instead. Send exactly one scope header per request.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json