v1

latestOpenAPI 3.1.12026-07-17111158225.7 KB
secondary dns

Create a primary server

Creates a primary server into the account.

post/{account}/secondary_dns/primaries

Path parameters

accountinteger required

The account id

Request body

namestring required
ipstring required
portstring

Response

Primary Server created.

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"
  }
}