v1
latestOpenAPI 3.1.02026-07-244861122.7 KBList zones
List a user's zones. The type of the results can be selected using the view parameter. Results can be filtered and sorted using the filter and sort parameters, and filtered by zone metadata using metadata filter expressions.
Query parameters
Zone format (defaults to summary)
Zone format (defaults to summary)
Offset from beginning of list
Maximum number of results to return
Sort options: (allowed fields: zone_name, publication_state; allowed sorting: asc, desc).
{
"zone_name": "asc",
"publication_state": "asc"
}Filter options: (allowed fields: publication_state, is_shared, name, zone_type)
{
"publication_state": "published",
"is_shared": true,
"zone_type": "primary",
"zone_name": [
"example-zone-a.com",
"example-zone-b.com"
],
"dns_name": [
"www"
],
"dns_type": [
"A"
],
"label": [
"rdata-label"
],
"rdata": [
"192.0.2.1"
]
}Sub-resource expansion options. (allowed resources: dns_name_count, rdata_count)
[ "dns_name_count", "rdata_count" ]
A metadata filter expression See metadata filters for an in-depth description of the expression syntax.
Filter results by metadata. See metadata filters for an in-depth description of the expression syntax.
Response
zone data
Example response
{
"data": [
{
"name": "example.com",
"zone_type": "primary",
"metadata": {
"property": "value"
}
}
],
"page": {
"total": 10
}
}