---
title: "List DNS Zones"
method: GET
path: "/workspace/dns/zones"
tags: ["DNS - Zones"]
---

# List DNS Zones

`GET /workspace/dns/zones`

List all DNS Zones owned by your account.

## Query parameters

- `active` boolean
- `domain` string
- `fields` string
- `name` string
- `ordering` string
- `page` integer
- `page_size` integer
- `search` string

## Response `200`

List of DNS zones retrieved successfully.

- PaginatedZoneList
  - `count` integer — Total number of items
  - `total_pages` integer — Total number of pages
  - `page` integer — Current page number
  - `page_size` integer — Number of items per page
  - `next` string, uri, nullable — URL to the next page of results
  - `previous` string, uri, nullable — URL to the previous page of results
  - `results` Zone[]
    - `id` integer, required
    - `name` string, required
    - `domain` string, required
    - `active` boolean, required
    - `nameservers` string[], required
    - `product_version` string, required

## Other responses

- `400` — Validation Error
- `401` — Authentication Failed
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `406` — Not Acceptable
- `429` — Throttled
- `500` — Internal Server Error

---

[API](https://skmtc.dev/azion/apis/azion-api.md) · [All operations](https://skmtc.dev/azion/apis/azion-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azion/azion-api/revisions/bb3250697218/schema)
