// See documentation to set up the client first
let apiInstance = new superlink.SubdomainApi();
let parentDomain = "supertest.me";
let subDomainName = "nora";
apiInstance.subdomainAvailable(parentDomain, subDomainName, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log(`${data.status}`)
}
});
// See documentation to set up the client first
parentDomain := "supertest.me"
subDomainName := "nora"
resp, r, err := superlinkClient.SubdomainAPI.SubdomainAvailable(context.Background(), parentDomain, subDomainName).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SubdomainAPI.SubdomainAvailable``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
fmt.Fprintf(os.Stdout, "%s\n", *resp.Status)
# See documentation to set up the client first
api_instance = superlink.SubdomainApi(api_client)
parent_domain = 'supertest.me'
subdomain_name = 'nora'
try:
api_response = api_instance.subdomain_available(parent_domain, subdomain_name)
print(api_response.status)
except Exception as e:
print("Exception when calling SubdomainApi->subdomain_available: %s\n" % e)

