v1

latestOpenAPI 3.1.12026-07-17111158225.7 KB
secondary dns

Retrieve a primary server

Retrieves the details of an existing primary server.

get/{account}/secondary_dns/primaries/{primaryserver}

Path parameters

accountinteger required

The account id

primaryserverinteger required

The primary server id

Response

Primary Server retrieved.

Example response

{
  "data": {
    "id": 1,
    "account_id": 2020,
    "name": "Primary Server",
    "ip": "1.1.1.1",
    "port": 4567,
    "linked_secondary_zones": [
      "example.com"
    ],
    "created_at": "2016-08-11T10:16:03Z",
    "updated_at": "2016-08-11T10:16:03Z"
  }
}