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

