sites

Domain List

Get a list of domains for a given site.

get/sites/{site_id}/domains

Request

Path parameters

site_idinteger required

Response

Successful Response

messagestring
dataobject[]

Example response

{
  "message": "Success",
  "data": [
    {
      "id": 20,
      "created": "2022-02-02T17:02:51.000Z",
      "primary": true,
      "name": null,
      "healthy": false,
      "dnsConfirmed": false,
      "provisioned": false,
      "type": "ARecord",
      "displayType": "A",
      "domainName": "pressable.com",
      "ipAddresses": [
        "199.16.172.38",
        "199.16.173.236"
      ],
      "zoneId": 1
    },
    {
      "id": 22,
      "created": "2022-02-02T17:02:51.000Z",
      "primary": false,
      "name": "www",
      "healthy": false,
      "dnsConfirmed": false,
      "type": "ARecord",
      "displayType": "A",
      "provisioned": false,
      "domainName": "www.pressable.com",
      "ipAddresses": [
        "199.16.172.38",
        "199.16.173.236"
      ],
      "zoneId": 1
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.