Skip to main content
GET
/
api
/
v1
/
zones
/
{zone}
Get Zone
curl --request GET \
  --url https://dns-service.iran.liara.ir/api/v1/zones/{zone} \
  --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". #

Path Parameters

zone
string
required

The name of the zone

Response

zone details

status
string
data
object