Openminds Sock API

List Subdomains

Returns a list of subdomains that a given DNS template has been applied to.

NOTE: This endpoint only works for client DNS templates, not those available from Openminds.

URL

/dns_templates/subdomains

Method

GET

URL parameters

Required

  • id=[integer]

Data parameters

Required

  • user_token=[string]
  • client_token=[string]

Sample usage

curl -X GET https://sock.openminds.be/api/v1/dns_templates/75/subdomains -d user_token=1234 -d client_token=5678

Sample response

[
    {
        "subdomains": [
            "openminds.be"
        ]
    }
]