Skip to main content
GET
/
api
/
v1
/
zones
List all zones
curl --request GET \
  --url https://dns-service.iran.liara.ir/api/v1/zones \
  --header 'Authorization: <api-key>'
{
  "status": "<string>",
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "status": "<string>",
      "currentNameServers": [
        "<string>"
      ],
      "nameServers": [
        "<string>"
      ],
      "lastCheckAt": "<string>",
      "createdAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Response

200 - application/json

An server

status
string
data
object[]