Subdomains
Get all subdomains
Retrieve subdomains associated with a domain
GET
https://api.packetengine.co.uk/v1/domains/{domain}/subdomains
This endpoint, by default, will return all subdomains for a domain that have active DNS records. To include subdomains which previously had DNS records set the all
parameter to true
.
Path Parameters
Name
Type
Description
domain*
String
The domain to fetch subdomains for
Query Parameters
Name
Type
Description
all
Boolean
Include subdomains without DNS records?
Headers
Name
Type
Description
Accept
String
application/json
Accept
String
text/plain
{
"subdomains": [
"e.z.kohls.com",
"k2mz07.kohls.com",
"sli.kohls.com",
"fusionbctest.kohls.com",
"wcs-delivery-prod-gt.kohls.com",
"b2b.gtm-ext.kohls.com",
"static-qa.lle-mcommerce.kohls.com",
"www-static-pky-staging.kohls.com",
"decc-kronos-gt.kohls.com",
"mta5.s.kohls.com",
"dprodn-green-snbui-bot.kohls.com"
]
}
Last updated