---
title: "List all zones"
method: GET
path: "/api/v1/zones"
tags: ["Zone"]
---

# List all zones

`GET /api/v1/zones`

list all zones that user owns

## Response `200`

An server

- Zones
  - `status` string
  - `data` Zone[]
    - `id` string
    - `name` string — The name of the zone, “liara.ir”, max length: 253, pattern: ^([a-zA-Z0-9][\-a-zA-Z0-9]*\.)+[\-a-zA-Z0-9]{2,20}$
    - `status` string — The status of the zone, valid values: [CREATING, PENDING, ACTIVE, DELETING]
    - `currentNameServers` string[]
    - `nameServers` string[]
    - `lastCheckAt` string — Last time when zones nameservers was checked
    - `createdAt` string — Time when zone was created

## Changes

- **2023-10-06** `26f9efc63bfa` — 1 breaking, 2 info
  - the response's body type/format changed from `array`/`` to `object`/`` for status `200`
  - added the optional property `data` to the response with the `200` status
  - added the optional property `status` to the response with the `200` status
- **2023-10-04** `23d2e68a80ad` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/liara-cloud/apis/dns/changes/api/v1/zones/get.md)

---

[API](https://skmtc.dev/liara-cloud/apis/dns.md) · [All operations](https://skmtc.dev/liara-cloud/apis/dns/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liara-cloud/dns/revisions/85a963889e53/schema)
