Subdomain management
Subdomain availability
SDK Documentation
- Introduction
- Client SDK
- Overview
- Installation and Setup
- Integration guides
- Examples
- Partner API
- Free Subdomains API
- Parent domain onboarding
- Parent domain info
- Subdomain management
- Subdomain resolution
- Headless Marketplace API
- Domain Resolution API
- React SDK
- Android SDK
- iOS SDK
Subdomain management
Subdomain availability
Check if a subdomain is available for creation
// 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}`)
}
});