A domain is a way to logically group endpoints. The name of the domain will be part of a public DNS record. For that reason, we let the customer choose their domain names. Once a domain has been created, endpoints can be created and managed within the context of the domain. Because endpoints can only exist within the context of a domain, creating a domain is the first step in creating endpoints.
There is a 100 domain max per account limit. Most use cases require using a single domain for all endpoints.
https://api.catapult.inetwork.com/v1/users/{userId}/domains
Verb | Paths | about |
---|---|---|
GET |
/v1/users/{userId}/domains/ |
List all domains on an user |
POST |
/v1/users/{userId}/domains |
Create a new domain |
DELETE |
/v1/users/{userId}/domains/{domainId} |
Delete specific domain |