Domains
Your domains on DNA’s nameservers.
GET
/domainsYour domains on DNA’s nameservers that this key’s DNS access reaches, sorted by name.
Authorization
apiKey AuthorizationBearer <token>
An API key (d3_k_…) from the dashboard’s API keys page.
In: header
Query Parameters
status?string
Value in
- "pending"
- "active"
- "moved"
page?integer
Page number, from 1.
Range
1 <= valueDefault
1per_page?integer
Items per page, 1 to 1000; a value outside that range is clamped.
Default
100Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/domains"{ "data": [ { "name": "string", "status": "pending", "nameservers": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "activated_at": "2019-08-24T14:15:22Z" } ], "page": 0, "per_page": 0, "total_count": 0, "total_pages": 0}GET
/domains/{domain}Name the domain in the path, such as example.com. Write an internationalized name in its xn-- form.
Authorization
apiKey AuthorizationBearer <token>
An API key (d3_k_…) from the dashboard’s API keys page.
In: header
Path Parameters
domain*string
The domain’s name, such as example.com.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/domains/example.com"{ "name": "string", "status": "pending", "nameservers": [ "string" ], "created_at": "2019-08-24T14:15:22Z", "activated_at": "2019-08-24T14:15:22Z"}